Commit Graph

7 Commits

Author SHA1 Message Date
Elle Mouton
3adbdbb39a multi: move logcompressor to logging.file.compressor
This is not a breaking change since the logcompressor config option has
not been released yet.
2024-10-30 13:30:04 +02:00
Elle Mouton
cd697913ef build: switch to slog Handlers
Start using the new slog handlers. With this commit we also remove the
need for the LogWriter since we let our LogRotator implement io.Writer
and pass that in to our log file handler.
2024-10-22 17:03:51 +02:00
Elle Mouton
ec5b39c120 build: move LevelSubLogger to own file
To make the upcoming commits easier to review and for general code
organisation.
2024-10-22 15:17:10 +02:00
Jonathan Harvey-Buschel
f360532eb1 lnd+build: add logcompressor flag 2024-09-12 12:31:02 -04:00
Johan T. Halseth
c1d423dc07 build/log: support parsing global+subsystem levels
This makes it possible to specify both a global+subsystem loglevels,
like:
--debuglevel=debug,PEER=info,SRVR=trace
2020-11-18 14:17:53 +01:00
Oliver Gugger
3ea74c4362 build: move log level parse code and add new leveled sub logger interface 2019-10-14 14:56:30 +02:00
Conner Fromknecht
9654a1c619 build/log: add log types + NewSubLogger 2018-10-05 13:04:45 +09:00