Merge "Change log directory for OpenDaylight"
This commit is contained in:
commit
b1f1d37811
@ -13,7 +13,7 @@ outputs:
|
||||
volumes:
|
||||
description: The volumes needed to log to files in the host.
|
||||
value:
|
||||
- /var/log/containers/opendaylight:/opt/opendaylight/data/log
|
||||
- /var/log/containers/opendaylight/karaf/logs:/opt/opendaylight/data/log
|
||||
host_prep_tasks:
|
||||
description: Extra ansible tasks needed for logging to files in the host.
|
||||
value:
|
||||
@ -22,11 +22,11 @@ outputs:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- /var/log/containers/opendaylight
|
||||
- /var/log/containers/opendaylight/karaf/logs
|
||||
- /var/log/opendaylight
|
||||
- name: opendaylight logs readme
|
||||
copy:
|
||||
dest: /var/log/opendaylight/readme.txt
|
||||
content: |
|
||||
Logs from OpenDaylight container can be found at /var/log/containers/opendaylight/karaf.log
|
||||
Logs from OpenDaylight container can be found at /var/log/containers/opendaylight/karaf/logs/karaf.log
|
||||
ignore_errors: true
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
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.
|
Loading…
Reference in New Issue
Block a user