Actions
Issue #1739
closedcontent wsgi app does not log errors
Start date:
Due date:
Estimated time:
Severity:
4. Urgent
Version:
Master
Platform Release:
2.8.0
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
When hitting errors with the content app, no errors are logged even for 500 ISE's.
The only way to see any sort of error is to change DEBUG to true in /pulp/server/content/web/settings.py and restart apache. At that point making a request will show the error as part of the response, but it still is not logged.
Actions
Enable logging for the content.wsgi application.
This commit configures loggers for the content.wsgi application. This ensures unhandled exceptions are logged to syslog and that logging is configured so messages can be sent from the views.
closes #1739