Make syslog facility a configurable option
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.
#4 Updated by bmbouter about 1 year 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
Please register to edit this issue