Skip to content

Too rapid geth.log file growth #16511

Closed
4 of 4 issues completed
Closed
Task
4 of 4 issues completed
@osmaczko

Description

@osmaczko

Problem

The general problem is that the geth.log file grows too rapidly, especially when the debug log level is enabled. The default geth.log rotation strategy in status-desktop is to maintain a single geth.log file with a size limit of 100MB, then overwrite it when the next output file reaches the same limit:

$ ll geth*
100M Sep 28 10:42 geth-2024-09-28T08-42-56.771.log
40M Sep 28 10:45 geth.log

For my main Status account with the debug log level enabled, it takes approximately 6 minutes for the rotation, which is far too quick.

status-go version: 74ae41154

Future Steps

  • identify extensive and excessive logs
  • consider disabling go-waku logs
  • consider moving some debug level logs to trace level
  • consider logging categories which can be configured at runtime

Sub-issues

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions