From d277d18c3598d221e1f2cf2eb1b1580ce68dcf7d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:20 -0400 Subject: [PATCH] Support configurable logging settings --- roles/pvc/templates/pvc/pvcd.yaml.j2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/pvc/templates/pvc/pvcd.yaml.j2 b/roles/pvc/templates/pvc/pvcd.yaml.j2 index b7ed3c3..902219e 100644 --- a/roles/pvc/templates/pvc/pvcd.yaml.j2 +++ b/roles/pvc/templates/pvc/pvcd.yaml.j2 @@ -59,9 +59,10 @@ pvc: log_directory: "/var/log/pvc" console_log_directory: "/var/log/libvirt" logging: - file_logging: True - stdout_logging: True - console_log_lines: 1000 + file_logging: {{ pvc_log_to_file }} + stdout_logging: {{ pvc_log_to_stdout }} + log_keepalives: {{ pvc_log_keepalives }} + console_log_lines: {{ pvc_log_console_lines }} networking: cluster: device: {{ pvc_cluster_device }}