d520016ff8
OpenDaylight karaf logs are currently stored in /var/log/containers/opendaylight/karaf.log. There is a logrotate_crond container job, that will rotate any *.log in /var/log/containers, with this pattern: /var/log/containers/*/*log /var/log/containers/*/*/*log { daily .... } OpenDaylight is Java code, and has it's own logrotate mechanism alreay configured. Currently, we have 2 entities doing log rotation, tripleO logrotate_crond, and ODL Pax logging. These 2 don't play nicely together. This patch will move the ODL logs out of the path of the tripleO log rotate cron job, so that ODL can manage it's own log rotation. Another option would be to modify tripleO to explicitly list out all of the containers, and only do log rotation for those listed. Closes-Bug:#1793566 https://bugs.launchpad.net/tripleo/+bug/1793566 Change-Id: I8acf7db248bf31d3010bc0313f48812a244d1004 Signed-off-by: Victor Pickard <vpickard@redhat.com>
13 lines
416 B
YAML
13 lines
416 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes openDaylight karaf file log rotation by changing
|
|
karaf log rollover parameters in PAX logging configuration.
|
|
Reference https://git.opendaylight.org/gerrit/#/c/75480/
|
|
for more details.
|
|
|
|
Also, moves openDaylight karaf log file location to
|
|
/var/log/containers/opendaylight/karaf/logs/karaf.log.
|
|
Reference https://review.openstack.org/#/c/603907/ for
|
|
more details.
|