Project

Profile

Help

Story #3288

Make syslog facility a configurable option

Added by lzap@redhat.com over 2 years ago. Updated 3 months ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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 over 2 years ago

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

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

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

#3 Updated by lzap@redhat.com about 2 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

#4 Updated by bmbouter almost 2 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

#5 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#6 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#7 Updated by bmbouter 3 months ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Please register to edit this issue

Also available in: Atom PDF