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:
parent
1ce6d43d1b
commit
06c5ab5b3f
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue