Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76402

Re: redirect stderr to syslog?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: redirect stderr to syslog?
Date 2014-08-16 06:42 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-63BC7B.06421216082014@news.panix.com> (permalink)
References <mailman.13042.1408158295.18130.python-list@python.org> <53eee06a$0$29984$c3e8da3$5496439d@news.astraweb.com>

Show all headers | View raw


In article <53eee06a$0$29984$c3e8da3$5496439d@news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

redirect stderr to syslog? "Russell E. Owen" <rowen@uw.edu> - 2014-08-15 20:04 -0700
  Re: redirect stderr to syslog? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-16 14:39 +1000
    Re: redirect stderr to syslog? Roy Smith <roy@panix.com> - 2014-08-16 06:42 -0400

csiph-web