Bug 1301751
Summary: | Move all logging to stdout/err to allow systemd throttling logging of errors | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Alan Pevec <apevec> |
Component: | distribution | Assignee: | Alan Pevec <apevec> |
Status: | CLOSED WONTFIX | QA Contact: | Shai Revivo <srevivo> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | trunk | CC: | apevec, chris.brown, fdinitto, fpercoco, itamar.landsman, lars, lhh, markmc, michele, pablo.iranzo, rcernin, srevivo, vstinner |
Target Milestone: | Milestone3 | ||
Target Release: | trunk | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1294911 | Environment: | |
Last Closed: | 2018-11-21 00:37:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alan Pevec
2016-01-25 22:11:32 UTC
This is something I might be interested in picking up but my guess is that it needs _much_ wider input as it will be big change for lots of people. Oslo supports systemd logging integration: https://docs.openstack.org/developer/oslo.log/journal.html There's also an argument that now we have integrated avail and perf monitoring, operators have no excuse not to monitor disk space etc etc. Comments? > We think that nova-conductor.log, nova-api.log has no "backoff" for throttling logging of errors? I implemented rate limiting in Oslo Log for bz#1294911: https://docs.openstack.org/oslo.log/latest/configuration/index.html#DEFAULT.rate_limit_interval rate_limit_interval Type: integer Default: 0 Interval, number of seconds, of log rate limiting. rate_limit_burst Type: integer Default: 0 Maximum number of logged messages per rate_limit_interval. rate_limit_except_level Type: string Default: CRITICAL Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG or empty string. Logs with level greater or equal to rate_limit_except_level are not filtered. An empty string means that all levels are filtered. Upstream issue (merged 1 year 9 months ago): https://review.openstack.org/#/c/322263/ Rate limiting means dropping logs which has an impact on security and debugging, so it's disabled by default. With the move to containerized deployments, logging is under container management control and cannot be solved in packaging so further enhancements should be in the deployment framework, TripleO. |