Message122990
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... |
|
Date |
User |
Action |
Args |
2010-12-01 11:32:41 | tarek | set | recipients:
+ tarek, jafo |
2010-12-01 11:32:41 | tarek | set | messageid: <1291203161.89.0.870759954789.issue10595@psf.upfronthosting.co.za> |
2010-12-01 11:32:40 | tarek | link | issue10595 messages |
2010-12-01 11:32:40 | tarek | create | |
|