Support new log flags and update default log conf

Tweak the defaults a bit; pvc-ansible assumes we're running under
systemd, so set a log format that's better for it (no colour or date).
This commit is contained in:
Joshua Boniface 2019-07-10 21:49:38 -04:00
parent 4217a92750
commit db2c77d330
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,9 @@
---
# Logging configuration
pvc_log_to_file: True
pvc_log_to_file: False
pvc_log_to_stdout: True
pvc_log_colours: False
pvc_log_dates: False
pvc_log_keepalives: True
pvc_log_keepalive_cluster_details: True
pvc_log_keepalive_storage_details: True

View File

@ -62,6 +62,8 @@ pvc:
logging:
file_logging: {{ pvc_log_to_file }}
stdout_logging: {{ pvc_log_to_stdout }}
log_colours: {{ pvc_log_colours }}
log_dates: {{ pvc_log_dates }}
log_keepalives: {{ pvc_log_keepalives }}
log_keepalive_cluster_details: {{ pvc_log_keepalive_cluster_details }}
log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }}