Merge pull request #3 from wcombs/master

added logfile option to logger
fixed non-creation of logfile