Make logging level configurable during runtime #302

Open
opened 2023-01-11 20:37:30 +00:00 by i-norden · 1 comment
Member

From talking with @srwadleigh

This would help with debugging issues which pop up during operation without requiring us to bring down the node and bring it up with a different log level. Even more valuable in situations where an issue only occurs under mainnet/production conditions after some accumulation of time/events, as in this case when we cycle the node to investigate the issue the issue may have dissolved during the process of cycling the node.

From talking with @srwadleigh This would help with debugging issues which pop up during operation without requiring us to bring down the node and bring it up with a different log level. Even more valuable in situations where an issue only occurs under mainnet/production conditions after some accumulation of time/events, as in this case when we cycle the node to investigate the issue the issue may have dissolved during the process of cycling the node.
Member

I think you can use the debug API to do this, specifically the debug_verbosity and debug_vmodule methods:

https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#debugverbosity
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#debugvmodule

I think you can use the `debug` API to do this, specifically the `debug_verbosity` and `debug_vmodule` methods: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#debugverbosity https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug#debugvmodule
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#302
No description provided.