Turn off debug output and set logging to warnings and errors only.