Author tarek
Recipients jafo, tarek
Date 2010-12-01.11:32:40
SpamBayes Score 4.36885e-08
Marked as misclassified No
Message-id <1291203161.89.0.870759954789.issue10595@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2010-12-01 11:32:41tareksetrecipients: + tarek, jafo
2010-12-01 11:32:41tareksetmessageid: <1291203161.89.0.870759954789.issue10595@psf.upfronthosting.co.za>
2010-12-01 11:32:40tareklinkissue10595 messages
2010-12-01 11:32:40tarekcreate