mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 05:11:14 +00:00
24aacfa8e8
Currently virtlogd has a hardcoded max file size of 128kb and max of 3 backups. This adds two new config parameters to /etc/libvirt/virtlogd.conf to let these be customized. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
15 lines
378 B
Plaintext
15 lines
378 B
Plaintext
module Test_virtlogd =
|
|
let conf = "log_level = 3
|
|
log_filters=\"3:remote 4:event\"
|
|
log_outputs=\"3:syslog:virtlogd\"
|
|
max_size = 131072
|
|
max_backups = 3
|
|
"
|
|
|
|
test Virtlogd.lns get conf =
|
|
{ "log_level" = "3" }
|
|
{ "log_filters" = "3:remote 4:event" }
|
|
{ "log_outputs" = "3:syslog:virtlogd" }
|
|
{ "max_size" = "131072" }
|
|
{ "max_backups" = "3" }
|