mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 18:21:45 +00:00
Integrate tracing (#6339)
Tracing Integration
- [reference](5bbf1859e9/projects/project-ideas.md (L297))
- [x] replace slog & log with tracing throughout the codebase
- [x] implement custom crit log
- [x] make relevant changes in the formatter
- [x] replace sloggers
- [x] re-write SSE logging components
cc: @macladson @eserilev
This commit is contained in:
@@ -77,15 +77,11 @@ Options:
|
||||
--log-format <FORMAT>
|
||||
Specifies the log format used when emitting logs to the terminal.
|
||||
[possible values: JSON]
|
||||
--logfile <FILE>
|
||||
File path where the log file will be stored. Once it grows to the
|
||||
value specified in `--logfile-max-size` a new log file is generated
|
||||
where future logs are stored. Once the number of log files exceeds the
|
||||
value specified in `--logfile-max-number` the oldest log file will be
|
||||
overwritten.
|
||||
--logfile-debug-level <LEVEL>
|
||||
The verbosity level used when emitting logs to the log file. [default:
|
||||
debug] [possible values: info, debug, trace, warn, error, crit]
|
||||
--logfile-dir <DIR>
|
||||
Directory path where the log file will be stored
|
||||
--logfile-format <FORMAT>
|
||||
Specifies the log format used when emitting logs to the logfile.
|
||||
[possible values: DEFAULT, JSON]
|
||||
@@ -240,8 +236,13 @@ Flags:
|
||||
database will have been initialized when you imported your validator
|
||||
keys. If you misplace your database and then run with this flag you
|
||||
risk being slashed.
|
||||
--log-color
|
||||
Force outputting colors when emitting logs to the terminal.
|
||||
--log-color [<log-color>]
|
||||
Enables/Disables colors for logs in terminal. Set it to false to
|
||||
disable colors. [default: true] [possible values: true, false]
|
||||
--log-extra-info
|
||||
If present, show module,file,line in logs
|
||||
--logfile-color
|
||||
Enables colors in logfile.
|
||||
--logfile-compress
|
||||
If present, compress old log files. This can help reduce the space
|
||||
needed to store old logs.
|
||||
|
||||
Reference in New Issue
Block a user