log file command fixed