Story #3288
closedMake syslog facility a configurable option
0%
Description
Hello, in Satellite 6 we are moving to syslog for all components. Pulp does support sylog already, which is great, but we would like to have an option to configure syslog facility to local5 for easier filtering in syslog. Currently it's harcoded to daemon if I read the code correctly.
Easy change. Thanks.
Updated by dalley almost 7 years ago
- Tracker changed from Issue to Story
- % Done set to 0
Updated by lzap@redhat.com almost 7 years ago
Created katello installer ticket: http://projects.theforeman.org/issues/22584
Updated by lzap@redhat.com over 6 years ago
The following tickets are needed in order to improve logging in Foreman:
https://pulp.plan.io/issues/3372
https://pulp.plan.io/issues/3289
https://pulp.plan.io/issues/3288
Updated by bmbouter about 6 years ago
+1, this makes sense to me. Currently Pulp sets the facility to 'daemon' in all cases here https://github.com/pulp/pulp/blob/2-master/server/pulp/server/logs.py#L106
We would add a new setting probably called 'syslog_facility' would make sense to me and have it default to a value from this list: https://docs.python.org/2/library/logging.handlers.html#sysloghandler
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 4 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.