From 0a85a2bdb945fd6a5501d1fb7aed654165f8f3f9 Mon Sep 17 00:00:00 2001 From: mrekucci Date: Thu, 19 Sep 2024 08:06:14 +0200 Subject: [PATCH] refactor: change log verbosity of Geth nodes (#405) --- .../nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 index 608deab81..4c15c8592 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 @@ -147,7 +147,7 @@ job "{{ job.name }}" { echo "Backup file size: $(du -h ${BACKUP_FILE} | cut -f1)" START_TIME=$(date +%s) local/mev-commit-geth \ - --verbosity=5 \ + --verbosity=3 \ --log.format="${GETH_LOG_FORMAT}" \ --log.tags="${GETH_LOG_TAGS}" \ --datadir="${GETH_DATA_DIR}" \ @@ -226,7 +226,7 @@ job "{{ job.name }}" { {% endif %} NET_RESTRICT="{{ job.env['net_restrict'] }}" GETH_NODE_TYPE="{{ job.env['type'] }}" - GETH_VERBOSITY={{ job.env.get('log-verbosity', '5') }} + GETH_VERBOSITY={{ job.env.get('log-verbosity', '3') }} GETH_LOG_FORMAT="{{ job.env.get('log-format', 'json') }}" GETH_LOG_TAGS="{{ 'service.name:' + job.name + '-{{ env "NOMAD_ALLOC_INDEX" }}' + ',service.version:' + version }}" {% if job.env['type'] == 'bootnode' %} @@ -387,7 +387,7 @@ job "{{ job.name }}" { START_TIME=$(date +%s) chmod +x local/mev-commit-geth local/mev-commit-geth \ - --verbosity=5 \ + --verbosity=3 \ --log.format="$GETH_LOG_FORMAT" \ --log.tags="$GETH_LOG_TAGS" \ --datadir="${GETH_DATA_DIR}" \