Change logging options for production and development environments.
Created by: pmather
Change the default logger to one that rotates logs on a daily basis. Also, we set the log level explicitly for each environment: "debug" for development and "warn" for production.