log error file and line