mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 10:59:56 +00:00
feat: add parameter for set log verbosity and json format (#10)
## What ❔ Logs in json format and option for set verbosity level for rust ## Why ❔ It can be useful for specify verbose level. ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Documentation comments have been added / updated.
This commit is contained in:
@ -80,6 +80,7 @@ rpc_http_port: 3060
|
|||||||
rpc_ws_port: 3061
|
rpc_ws_port: 3061
|
||||||
healthcheck_port: 3081
|
healthcheck_port: 3081
|
||||||
metrics_port: 3082
|
metrics_port: 3082
|
||||||
|
log_verbosity: info
|
||||||
|
|
||||||
# Monitoring options section
|
# Monitoring options section
|
||||||
enable_monitoring: false
|
enable_monitoring: false
|
||||||
|
|||||||
@ -90,7 +90,8 @@ services:
|
|||||||
CHAIN_STATE_KEEPER_VALIDATION_COMPUTATIONAL_GAS_LIMIT: 2000000
|
CHAIN_STATE_KEEPER_VALIDATION_COMPUTATIONAL_GAS_LIMIT: 2000000
|
||||||
DATABASE_POOL_SIZE: 200
|
DATABASE_POOL_SIZE: 200
|
||||||
EN_MAX_BLOCKS_PER_TREE_BATCH: 200
|
EN_MAX_BLOCKS_PER_TREE_BATCH: 200
|
||||||
RUST_LOG: zksync_core=debug,zksync_dal=info,zksync_eth_client=info,zksync_merkle_tree=info,zksync_storage=info,zksync_state=debug,zksync_types=info,vm=info,zksync_external_node=info,zksync_utils=debug
|
MISC_LOG_FORMAT: json
|
||||||
|
RUST_LOG: zksync_external_node={{ log_verbosity }}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:{{ healthcheck_port }}/health" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:{{ healthcheck_port }}/health" ]
|
||||||
interval: 1m
|
interval: 1m
|
||||||
|
|||||||
Reference in New Issue
Block a user