/
Logging

Logging

Logging

This project employs the logging facade SLF4J, using Apache Log4j 2.x as its backend. Accordingly, levels of detail can be specified as follows:

OFF: The highest possible rank and is intended to turn off logging. ERROR: Designates error events that might still allow the application to continue running. WARN: Designates potentially harmful situations. INFO: Designates informational messages that highlight the progress of the application at coarse-grained level. DEBUG: Designates fine-grained informational events that are most useful to debug an application. TRACE: Designates finer-grained informational events than the DEBUG. ALL: All levels including custom levels.

For more guidance on which level to use, see Coding Conventions#Logging

For modifying the log output of a running client, you may use a custom log4j config file by setting a system property at startup.  Besu's logging doc provides good documentation on how to configure logging in Besu.

Related content

Plugin Services
Plugin Services
More like this
Debugging Besu in IntelliJ
Debugging Besu in IntelliJ
More like this
Besu - Community Support
Besu - Community Support
More like this
Besu CLI Style Guide
Besu CLI Style Guide
More like this
I just have a quick question
I just have a quick question
More like this
Suggesting Enhancements
Suggesting Enhancements
More like this