Commits

Robert Brewer  committed fac095c

Silencing the no-handlers "warning" (stderr write!) in stdlib logging.

  • Participants
  • Parent commits 52a3fd4

Comments (0)

Files changed (1)

File cherrypy/_cplogging.py

 
 import datetime
 import logging
+# Silence the no-handlers "warning" (stderr write!) in stdlib logging
+logging.Logger.manager.emittedNoHandlerWarning = 1
 logfmt = logging.Formatter("%(message)s")
 import os
 import rfc822