Wednesday, 28 January 2015

Nuke python console output

When you start a python/cherrypy web server, by default, will log onto the console. One can disable this by using property "log.screen" in global properties

log.screen = False

or cherrypy configuration in the code

cherrypy.config.update({..., 'log.screen':False,})

No comments:

Post a Comment