redirect stderr to syslog?

Roy Smith roy at panix.com
Sat Aug 16 06:42:12 EDT 2014


In article <53eee06a$0$29984$c3e8da3$5496439d at news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> Russell E. Owen wrote:
> 
> > I realize the logging module supports this and has a syslog writer, so
> > that's a fallback. But we were hoping to use the syslog module for
> > performance.
> 
> Have you benchmarked your code and discovered that using the logging module
> makes a noticeable difference to performance?

That's the question I was going to ask.  We're pushing many 10's of GB 
through the logging module every day.  It doesn't even show up on our 
performance profiles.



More information about the Python-list mailing list