moved config and error logs to only one file