change the log to correct file