Output messages to log file because this is ridic.