[New-bugs-announce] [issue10595] Adding a syslog.conf reader in syslog

Tarek Ziadé report at bugs.python.org
Wed Dec 1 12:32:41 CET 2010


New submission from Tarek Ziadé <ziade.tarek at gmail.com>:

The syslog module allows to configure via openlog() the facility.

There's one missing feature though, I'd love to have in a new API: a way to read the syslog configuration, and in particular to know where each facility file is located on the system.

e.g.:

  >>> from syslog import get_config, LOG_AUTH
  >>> get_config(LOG_AUTH)
  {'filename': '/var/log/auth.log', some other stuff}

I am not sure how easy it would be, looking at the syslog C API...

----------
components: Library (Lib)
messages: 122990
nosy: jafo, tarek
priority: normal
severity: normal
status: open
title: Adding a syslog.conf reader in syslog
type: feature request
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10595>
_______________________________________


More information about the New-bugs-announce mailing list