Fixes a bug where logfile config option was unused.
Merge pull request #13 from aagbsn/fix/set_logfile_from_config

Fixes a bug where logfile config option was unused.