Story #2548
closedAs an administrator, I can configure how pulp logs
100%
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
Added by sysadmind over 7 years ago
Updated by bmbouter over 7 years ago
- Assignee set to sysadmind
PR available at: https://github.com/pulp/pulp/pull/2951
Updated by bmbouter over 7 years ago
Followup PR with release note: https://github.com/pulp/pulp/pull/2972/files
Added by bmbouter over 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
Added by bmbouter over 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
Updated by bmbouter over 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|305e2f54444f9093fa5cb3a5f79c54f03ee23518.
Updated by pcreech over 7 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Updated by bmbouter over 7 years ago
- Related to Issue #2786: The content wsgi does not respect logging configuration added
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.