Add Zookeeper logging configs

This commit is contained in:
2021-07-18 17:42:00 -04:00
parent a1362c4363
commit 0e046b48d4
3 changed files with 12 additions and 2 deletions

View File

@ -4,12 +4,16 @@
# control over the logging output of the PVC system.
#pvc_log_to_file: False # Log to a file in /var/log/pvc
#pvc_log_to_stdout: True # Log to stdout (i.e. journald)
#pvc_log_to_zookeeper: True # Log to Zookeeper (required for 'node log' commands)
#pvc_log_colours: True # Log colourful prompts for states instead of text
#pvc_log_dates: False # Log dates (useful with log_to_file, not useful with log_to_stdout as journald adds these)
#pvc_log_keepalives: True # Log keepalive event every pvc_keepalive_interval seconds
#pvc_log_keepalive_cluster_details: True # Log cluster details (VMs, load, etc.) duing keepalive events
#pvc_log_keepalive_storage_details: True # Log storage details (OSDs, pools, health) during keepalive events
#pvc_log_console_lines: 1000 # The number of VM console log lines to store in Zookeeper for 'vm log' commands.
#pvc_log_node_lines: 2000 # The number of node log lines to store in Zookeeper for 'node log' commands.
# Timing and fencing configuration (uncomment to override defaults)
# Timing and fencing configuration (uncomment to override defaults)
# These default options are generally best for most clusters; override these if you want more granular
@ -79,9 +83,11 @@ pvc_routers:
# here, only by editing the `files/ceph/<cluster>/ceph.conf` file directly.
#pvc_osd_memory_limit: 939524096
# Zookeeper heap memory limit, sets Xms and Xmx values to the Java process; default is 256M.
#pvc_zookeeper_heap_limit: 32M
# WARNING: Do not set lower than 128MB when using pvc_log_to_zookeeper, or lower than 32MB otherwise!
#pvc_zookeeper_heap_limit: 128M
# Zookeeper stack memory limit, sets Xss value to the Java process; default is 512M.
#pvc_zookeeper_stack_limit: 32M
# WARNING: Do not set lower than 128MB when using pvc_log_to_zookeeper, or lower than 32MB otherwise!
#pvc_zookeeper_stack_limit: 128M
# Node list
# > Every node configured with this playbook must be specified in this list.