Bug 1470191
| Summary: | ODL Logging configuration needs to be optimized | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Tim Rozet <trozet> |
| Component: | puppet-opendaylight | Assignee: | Janki <jchhatba> |
| Status: | CLOSED ERRATA | QA Contact: | Itzik Brown <itbrown> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 11.0 (Ocata) | CC: | dfarrell, jchhatba, jjoyce, jschluet, lpeer, nyechiel, shague, slinaber, tvignaud, vorburger |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 12.0 (Pike) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-opendaylight-4.1.0-0.20170728021921.3768d5e.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
N/A
|
|
| Last Closed: | 2017-12-13 21:40:04 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
Tim Rozet
2017-07-12 13:50:53 UTC
We should configure the logging to use a single large file. [1] is the link to the shell script in the upstream job for configuring a single large file. The script sets the size to 30GB but in normal practice it is less than 50MB. The final config would look like: modify file: org.ops4j.pax.logging.cfg log4j.appender.out.maxBackupIndex=1 log4j.appender.out.maxFileSize=30GB [1] https://github.com/opendaylight/releng-builder/blob/master/jjb/integration/include-raw-integration-configure-clustering.sh#L80 Upstream pacthes cherry-picked for Carbon: https://git.opendaylight.org/gerrit/#/c/60759/ > Ideally we want ODL logging to be part of systemd journaling ==> Bug 1475951 ... Cherry-pick to stable carbon https://git.opendaylight.org/gerrit/#/c/60816/ With this change, there would be 2 files generated of size 10 GB each. Verified with opendaylight-6.1.0-2.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462 |