Merge lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-fix-logging into lp:adt-cloud-service
Proposed by
Thomi Richards
Status: | Merged |
---|---|
Approved by: | Thomi Richards |
Approved revision: | 25 |
Merged at revision: | 21 |
Proposed branch: | lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-fix-logging |
Merge into: | lp:adt-cloud-service |
Diff against target: |
161 lines (+57/-7) 6 files modified
README.rst (+8/-0) adt-service.conf (+5/-7) adt_cloud_service/__init__.py (+34/-0) adt_cloud_service/queue.py (+4/-0) adt_cloud_service/v1.py (+5/-0) requirements.txt (+1/-0) |
To merge this branch: | bzr merge lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-fix-logging |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celso Providelo (community) | Approve | ||
Paul Larson | Approve | ||
Review via email: mp+253591@code.launchpad.net |
Commit message
Sort out logging.
Description of the change
Sort out logging for the a-c-w:
- we keep a separate application log.
- we try and write to 'logs/app.log'
- we fall back to stderr if the logs directory does not exist.
- we configure the logstash handler if our config file contains the 'logstash' section.
- we log every request that contains missing parameters, and every time we enqueue something to rabbit.
To post a comment you must log in.
One question in-line.