feat: test tracer (#6025)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Luca Provini
2024-01-13 13:38:08 +01:00
committed by GitHub
parent 030a1fd0f8
commit a075c31542
9 changed files with 56 additions and 18 deletions

32
book/cli/reth/init.md vendored
View File

@ -56,37 +56,56 @@ Database:
- extra: Enables logging for extra debug-level messages
Logging:
--log.stdout.format <FORMAT>
The format to use for logs written to stdout.
[default: terminal]
Possible values:
- json
- logfmt
- terminal
--log.stdout.filter <FILTER>
The filter to use for logs written to stdout.
[default: info]
--log.file.directory <PATH>
The path to put log files in
[default: <CACHE_DIR>/logs]
--log.file.max-size <SIZE>
The maximum size (in MB) of one log file
[default: 200]
--log.file.max-files <COUNT>
The maximum amount of log files that will be stored. If set to 0, background file logging is disabled
[default: 5]
--log.file.filter <FILTER>
The filter to use for logs written to the log file
[default: debug]
--log.file.format <FORMAT>
The format to use for logs written to the log file.
[default: Terminal]
Possible values:
- json
- logfmt
- terminal
--log.journald
Write logs to journald
--log.journald.filter <FILTER>
The filter to use for logs written to journald
[default: error]
--color <COLOR>
Sets whether or not the formatter emits ANSI terminal escape codes for colors and other text formatting
[default: always]
Possible values:
@ -97,7 +116,6 @@ Logging:
Display:
-v, --verbosity...
Set the minimum log level.
-v Errors
-vv Warnings
-vvv Info