Project

Profile

Help

Story #3288

Make syslog facility a configurable option

Added by lzap@redhat.com about 2 years ago. Updated 10 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
API
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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.

History

#1 Updated by dalley about 2 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0

#2 Updated by lzap@redhat.com almost 2 years ago

Created katello installer ticket: http://projects.theforeman.org/issues/22584

#3 Updated by lzap@redhat.com over 1 year 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

#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

#5 Updated by bmbouter 10 months ago

  • Status changed from NEW to CLOSED - WONTFIX

#6 Updated by bmbouter 10 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF