set up logging using config file so we can use this in production