Description of problem: Opendaylight logs into a file named karaf.log.1 isntead of karaf.log, as per documentation in https://bugzilla.redhat.com/show_bug.cgi?id=1597665 Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-8.0.2-45 How reproducible: 100% Steps to Reproduce: 1. Deploy with odl 2. ls /var/log/containers/opendaylight Actual results: karaf.log.1 Expected results: karaf.log
This is a bit similar to https://bugzilla.redhat.com/show_bug.cgi?id=1609333.
Hello, Tomas I did a deployment with `log4j2.appender.rolling.policies.size.size = 1MB` and I can corroborate that this fixed in both master and stable branches: MASTER ====== $ du -hs /var/log/containers/opendaylight/karaf/logs/* 896K /var/log/containers/opendaylight/karaf/logs/karaf.log 1.1M /var/log/containers/opendaylight/karaf/logs/karaf.log.1 1.1M /var/log/containers/opendaylight/karaf/logs/karaf.log.2 STABLE/QUEENS ============= $ du -hs /var/log/containers/opendaylight/karaf/logs/* 160K /var/log/containers/opendaylight/karaf/logs/karaf.log 1.1M /var/log/containers/opendaylight/karaf/logs/karaf.log.1 I'm pretty sure this fix came in with #1648348, so closing this one as a duplicate of that one. *** This bug has been marked as a duplicate of bug 1648348 ***