Redirect Messages to the log file