With the logging level set to debug, the server produces a lot of output!
The logged information is also useful in a variety of scenarios so it doesn't make sense to remove the messages entirely. Instead, this PR overhauls the server's logging configuration options, giving the user finer-grained control over the output.
The server will now also write log messages to stderr by default, which is hopefully compatible with a wider range of clients out of the box.
Examples
The following is equivalent to the server's default logging configuration
With the logging level set to
debug
, the server produces a lot of output!The logged information is also useful in a variety of scenarios so it doesn't make sense to remove the messages entirely. Instead, this PR overhauls the server's logging configuration options, giving the user finer-grained control over the output.
The server will now also write log messages to
stderr
by default, which is hopefully compatible with a wider range of clients out of the box.Examples
The following is equivalent to the server's default logging configuration
This sets the default log level to
debug
and dials back or redirects the output from some of the noisier loggersOnce this is merged the docs will include details on the new config options.