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:
parent
4217a92750
commit
db2c77d330
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
# Logging configuration
|
# Logging configuration
|
||||||
pvc_log_to_file: True
|
pvc_log_to_file: False
|
||||||
pvc_log_to_stdout: True
|
pvc_log_to_stdout: True
|
||||||
|
pvc_log_colours: False
|
||||||
|
pvc_log_dates: False
|
||||||
pvc_log_keepalives: True
|
pvc_log_keepalives: True
|
||||||
pvc_log_keepalive_cluster_details: True
|
pvc_log_keepalive_cluster_details: True
|
||||||
pvc_log_keepalive_storage_details: True
|
pvc_log_keepalive_storage_details: True
|
||||||
|
|
|
@ -62,6 +62,8 @@ pvc:
|
||||||
logging:
|
logging:
|
||||||
file_logging: {{ pvc_log_to_file }}
|
file_logging: {{ pvc_log_to_file }}
|
||||||
stdout_logging: {{ pvc_log_to_stdout }}
|
stdout_logging: {{ pvc_log_to_stdout }}
|
||||||
|
log_colours: {{ pvc_log_colours }}
|
||||||
|
log_dates: {{ pvc_log_dates }}
|
||||||
log_keepalives: {{ pvc_log_keepalives }}
|
log_keepalives: {{ pvc_log_keepalives }}
|
||||||
log_keepalive_cluster_details: {{ pvc_log_keepalive_cluster_details }}
|
log_keepalive_cluster_details: {{ pvc_log_keepalive_cluster_details }}
|
||||||
log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }}
|
log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }}
|
||||||
|
|
Loading…
Reference in New Issue