Replace reading of log files with sending messages through monitor