New submission from Tarek Ziadé <ziade.ta...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue10595> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com