fmt
fix log file output err

was using lockFile as logFile