Change previous log format to include the affected file.