reverting messages to log file in forever_gate.js