+++ 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 https://github.com/splice/pulp/blob/rhui/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: /var/log/gofer/agent.log Associated commit: https://github.com/splice/pulp/commit/438e944f22d35393497023fb07cce23e8e9bd366
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