change debug level to production mode