modify log file