Bug 787086

Summary: Configure logging output correctly
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: Web AppAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: 0.1.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 05:17:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Coghlan 2012-02-03 05:53:34 UTC
Currently, the pulpdist-httpd RPM correctly creates /var/log/pulpdist, but pulpdist.django_site doesn't actually set up any stream handler to write there (instead just logging to the console and relying on Apache being set up to log console output from applications)

This needs to be fixed so that misbehaviour can be diagnosed sanely...

Comment 1 Nick Coghlan 2012-02-07 05:17:26 UTC
Now creates 5 log files (some messages appear in multiple locations):

Split by namespace (all DEBUG+):
  pulpdist.log
  pulp.log
  django.log

Split by severity (django, pulp and pulpdist namespaces):
  debug.log
  error.log