Set log level to 'debug' for logging to file.
Merge pull request #2338 from paymand/logger

Set log level to 'debug' for logging to file.