Read the config file before enabling logs.