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


Groups > comp.lang.python > #76402

Re: redirect stderr to syslog?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!roy
From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: redirect stderr to syslog?
Date Sat, 16 Aug 2014 06:42:12 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Lines 15
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>
NNTP-Posting-Host localhost
X-Trace reader1.panix.com 1408185734 9161 127.0.0.1 (16 Aug 2014 10:42:14 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Sat, 16 Aug 2014 10:42:14 +0000 (UTC)
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Xref csiph.com comp.lang.python:76402

Show key headers only | 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