Christopher Arndt schrieb:
> Ken Kuhlman schrieb:
>> Console logging is part cherrypy's default logging config, so you're
>> still getting it because your [[[cp_errors]]] section isn't taking.  If
>> you change the qualname to cherrypy.error & apply the patch below to
>> your 1.5 install [1], you'll have better luck.
> 
> Thanks Ken, I will try this tonight.

This shuts up logging of CP INFO & DEBUG messages to stdout but I still
get access logs in combined log format to both the console and access.log.

Setting 'log.screen' to False in the configuration shuts this up too.

So we should make this the default and add appropriate logging config to
the quickstart templates to log 'cherrypy.access' to stdout in dev.cfg
and to 'access.log' in sample-prod.cfg.

What I don't understand is why I have to use 'cherrypy.error' as the
qualname? I thought there was a parent logger 'cherrypy', or isn't there?

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to