Fix logger. If the log file is not writable, gracefully log to the console.
Fix logger. If the log file is not writable, gracefully log to the console.

TekMonks/monkshu,TekMonks/monkshu,TekMonks/monkshu