Project

Profile

Help

Story #3288

closed

Make syslog facility a configurable option

Added by lzap@redhat.com almost 7 years ago. Updated over 4 years 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.

Actions #1

Updated by dalley almost 7 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
Actions #2

Updated by lzap@redhat.com almost 7 years ago

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

Actions #3

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

Actions #4

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

Actions #5

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #6

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #7

Updated by bmbouter over 4 years ago

  • Category deleted (14)

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

Also available in: Atom PDF