route console messages to a log