add support for --log-stdout flag that controls format
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d0051bb4cd
commit
6b5e2adbb5
|
@ -21,7 +21,8 @@ beacon_node_build_days_kept: 3
|
||||||
|
|
||||||
# shared testnet name: mainnet, pyrmont, prater, etc.
|
# shared testnet name: mainnet, pyrmont, prater, etc.
|
||||||
beacon_node_network: 'mainnet'
|
beacon_node_network: 'mainnet'
|
||||||
beacon_node_log_level: 'INFO'
|
beacon_node_log_level: 'INFO' # TRACE DEBUG INFO NOTICE WARN ERROR FATAL NONE
|
||||||
|
beacon_node_log_format: 'json' # auto colors nocolors json none
|
||||||
beacon_node_data_folder: 'shared_{{ beacon_node_network }}_0'
|
beacon_node_data_folder: 'shared_{{ beacon_node_network }}_0'
|
||||||
beacon_node_subscribe_all: false
|
beacon_node_subscribe_all: false
|
||||||
beacon_node_doppelganger_detection: true
|
beacon_node_doppelganger_detection: true
|
||||||
|
|
|
@ -26,8 +26,11 @@
|
||||||
{% if beacon_node_secrets_dir != "" %}
|
{% if beacon_node_secrets_dir != "" %}
|
||||||
--secrets-dir="{{ beacon_node_secrets_dir }}"
|
--secrets-dir="{{ beacon_node_secrets_dir }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
--nat=extip:{{ beacon_node_public_address }}
|
{% if beacon_node_repo_branch == "unstable" %}
|
||||||
|
--log-stdout={{ beacon_node_log_format }}
|
||||||
|
{% endif %}
|
||||||
--log-level={{ beacon_node_log_level }}
|
--log-level={{ beacon_node_log_level }}
|
||||||
|
--nat=extip:{{ beacon_node_public_address }}
|
||||||
--tcp-port={{ beacon_node_listening_port }}
|
--tcp-port={{ beacon_node_listening_port }}
|
||||||
--udp-port={{ beacon_node_discovery_port }}
|
--udp-port={{ beacon_node_discovery_port }}
|
||||||
--max-peers={{ beacon_node_max_peers }}
|
--max-peers={{ beacon_node_max_peers }}
|
||||||
|
|
Loading…
Reference in New Issue