Record libvirt log using rsyslog running on host

Currently libvirt records log to stdout, and journald traps these logs
and resends them to host syslog.
This causes duplicated timestamp recorded for each log line, because
libvirt sends log with timestamp, and also rsyslog assignes timestamp
when it recieves log records.

This patch makes libvirt send log directly to rsyslog running on host,
to remove the duplicated timestamp assignment.

Change-Id: I6e5ac7f5971df5998db22c5d392084fddf77d34a
This commit is contained in:
Takashi Kajinami 2019-05-13 11:48:25 +09:00
parent 1ce6d43d1b
commit 06c5ab5b3f
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ outputs:
"%{hiera('$NETWORK')}"
params:
$NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
nova::compute::libvirt::log_outputs: "3:syslog"
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
tripleo::nova_libvirt::firewall_rules:
'200 nova_libvirt':