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


Groups > comp.lang.python > #76393

redirect stderr to syslog?

From "Russell E. Owen" <rowen@uw.edu>
Subject redirect stderr to syslog?
Date 2014-08-15 20:04 -0700
Organization University of Washington
Newsgroups comp.lang.python
Message-ID <mailman.13042.1408158295.18130.python-list@python.org> (permalink)

Show all headers | View raw


We are using the syslog module for logging, and would like to redirect 
stderr to our log. Is there a practical way to do it?

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.

-- Russell

Back to comp.lang.python | Previous | NextNext 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