set logging levels in production to warn