Skip to content

Commit

Permalink
refactor: change log verbosity of Geth nodes (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Sep 19, 2024
1 parent 09b87de commit 0a85a2b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down Expand Up @@ -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' %}
Expand Down Expand Up @@ -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}" \
Expand Down

0 comments on commit 0a85a2b

Please sign in to comment.