mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
feat: make RUST_LOG parametrized (#11)
## What ❔ Customize RUST_LOG variable ## Why ❔ There're lot of packages used for EN and each of them has their own logging verbosity ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Documentation comments have been added / updated.
This commit is contained in:
@ -80,7 +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
|
rust_log: zksync_external_node=info,zksync_core=info,zksync_core::sync_layer=info,zksync_server=info,zksync_prover=info,zksync_contract_verifier=info,zksync_dal=info,zksync_eth_client=info,zksync_storage=info,zksync_db_manager=info,zksync_merkle_tree=info,zksync_state=info,zksync_utils=info,zksync_types=info,loadnext=info,dev_ticker=info,vm=info,block_sizes_test=info,zksync_verification_key_generator_and_server=info,zksync_object_store=info,setup_key_generator_and_server=info,zksync_circuit_synthesizer=info,zksync_queued_job_processor=info,zksync_health_check=info
|
||||||
|
|
||||||
# Monitoring options section
|
# Monitoring options section
|
||||||
enable_monitoring: false
|
enable_monitoring: false
|
||||||
|
|||||||
@ -91,7 +91,7 @@ services:
|
|||||||
DATABASE_POOL_SIZE: 200
|
DATABASE_POOL_SIZE: 200
|
||||||
EN_MAX_BLOCKS_PER_TREE_BATCH: 200
|
EN_MAX_BLOCKS_PER_TREE_BATCH: 200
|
||||||
MISC_LOG_FORMAT: json
|
MISC_LOG_FORMAT: json
|
||||||
RUST_LOG: zksync_external_node={{ log_verbosity }}
|
RUST_LOG: {{ rust_log }}
|
||||||
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