Read the config file before enabling logs.
Merge pull request #961 from RachelBryk/logs

Read the config file before enabling logs.