Closed busslina closed 7 months ago
Hi, sorry for the late response.
No, this is currently not possible because the LogOutput
(like MultiOutput
) is not the one checking or managing the configured log level.
The LogFilter
is responsible for comparing the log level, and there is currently no way of having a separate filter per output.
Sidenote: The current logger architecture isn't designed for multiple filters/outputs and the MultiOutput
is more or less a workaround, IMO.
A possible alternative would be to use two loggers (one for console, one for file) with different log levels.
@Bungeefan thank you ;)
When using
MultiOutput
, is it possible to have info level forConsoleOutput
and all level froFileOutput
?