rc01: Enhance for logging to a file in addition to console.