Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76393
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'fallback.': 0.16; 'log.': 0.16; 'logging,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'stderr': 0.16; 'module': 0.19; 'header:User-Agent:1': 0.23; 'received:comcast.net': 0.24; 'logging': 0.26; 'header:X-Complaints-To:1': 0.27; 'but': 0.35; 'there': 0.35; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'realize': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'our': 0.64; 'hoping': 0.75; 'russell': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | "Russell E. Owen" <rowen@uw.edu> |
| Subject | redirect stderr to syslog? |
| Date | Fri, 15 Aug 2014 20:04:33 -0700 |
| Organization | University of Washington |
| X-Gmane-NNTP-Posting-Host | c-50-132-7-214.hsd1.wa.comcast.net |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13042.1408158295.18130.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408158295 news.xs4all.nl 2938 [2001:888:2000:d::a6]:49958 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76393 |
Show key headers only | 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 | Next — Next in thread | Find similar | Unroll 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