Red Hat Bugzilla – Bug 1017410
Configure Grinder when running on a CDS to log to it's own file.
Last modified: 2014-01-23 18:59:42 EST
+++ This bug was initially created as a clone of Bug #1017310 +++
Description of problem:
We would like to see Grinder writing to it's own log file on a CDS during sync.
The proposed change is to modify how the CDS configures the python logging and use a logging configuration file similar to what pulp-server does.
--- Additional comment from John Matthews on 2013-10-09 11:40:56 EDT ---
Added a config entry to /etc/pulp/cds.conf to control what logging config file to load
log_config_file = /etc/pulp/logging/cds.cfg
Introduced new logging configuration file: /etc/pulp/logging/cds.cfg
To view the CDS logs, look at:
/var/log/pulp-cds/pulp.log <- Pulp specific (was gofer.log)
/var/log/pulp-cds/grinder.log <- Grinder specific
Gofer log is still at:
Looking good, Megan. Probably a few minor things to rectify:
Procedure 3.2. View CDS Logs
- Make sure the log file paths/filenames are marked up with <filename>
Procedure 3.9. Add a New CDS Log
Step 1 - Make the "note" admonition and "important" one
Step 2 - In "Add a new entry to keys under [loggers] for the new log.", mark [loggers] as a <literal>
Step 3 - Make mention that the new logger section needs to start with "logger_"
Step 5 - Mark up each value with <parameter>
But you've pretty much captured what's required. Excellent :)
Looks good. Verified.
This documentation issue has been fulfilled and pushed live to access.redhat.com