set logging to warn