log: default logging behavior

use the rotatelogfile handler to log to a file.
Merge pull request #169 from TheSriram/log_fix

log: default logging behavior