Project

Profile

Help

Story #2548

closed

As an administrator, I can configure how pulp logs

Added by sysadmind about 7 years ago. Updated almost 5 years ago.

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

100%

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

Description

As an administrator, I should be able to configure how and where pulp logs. Pulp currently assumes that all logs will go to syslog but this can be a broken assumption. Most containers don't have syslog available to them and instead may prefer a file or to log directly to the console.

Most likely the following types will cover most use cases:
Syslog
File
Console

This would ideally be configurable in the server configuration file with options for logging type and file (if applicable).


Related issues

Related to Pulp - Issue #2786: The content wsgi does not respect logging configurationCLOSED - CURRENTRELEASEehelms@redhat.comActions

Added by sysadmind about 7 years ago

Revision eefd425a | View on GitHub

Add console logger option for pulp.server.

This is related to https://pulp.plan.io/issues/2548

This will allow for more logging options for pulp especially when /dev/log isn't available as is the case in most containers.

Actions #1

Updated by bmbouter about 7 years ago

  • Assignee set to sysadmind
Actions #2

Updated by bmbouter about 7 years ago

  • Status changed from NEW to POST
Actions #3

Updated by bmbouter about 7 years ago

Added a Pulp Smash test plan that I'm following manually.

Actions #4

Updated by bmbouter about 7 years ago

Followup PR with release note: https://github.com/pulp/pulp/pull/2972/files

Added by bmbouter about 7 years ago

Revision 305e2f54 | View on GitHub

Adds release note for console feature + misc fixes

  • A release note for the console feature was added.
  • Removal of some code handling a case that will never occur.
  • Test fix because of ^
  • Small flake8 fixes I saw when running tests locally

closes #2548 https://pulp.plan.io/issues/2548

Added by bmbouter about 7 years ago

Revision 305e2f54 | View on GitHub

Adds release note for console feature + misc fixes

  • A release note for the console feature was added.
  • Removal of some code handling a case that will never occur.
  • Test fix because of ^
  • Small flake8 fixes I saw when running tests locally

closes #2548 https://pulp.plan.io/issues/2548

Actions #5

Updated by bmbouter about 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by pcreech almost 7 years ago

  • Platform Release set to 2.13.0
Actions #7

Updated by pcreech almost 7 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by pcreech almost 7 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter almost 7 years ago

  • Related to Issue #2786: The content wsgi does not respect logging configuration added
Actions #10

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF