1. yolio2003
  2. CherryPy

Commits

Remi Delon  committed e799f72

logTracebacks is now True by default

  • Participants
  • Parent commits 908992a
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/_cputil.py

View file
  • Ignore whitespace
     httpErrors      = cherrypy.config.get('server.httpErrors')
     showTracebacks  = cherrypy.config.get('server.showTracebacks')
     
-    logTracebacks  = cherrypy.config.get('server.logTracebacks')
+    logTracebacks  = cherrypy.config.get('server.logTracebacks', True)
     if logTracebacks:
         cherrypy.log(formatExc())