helpful to warn when not configured?

It might be helpful to, if no logback configuration files are found at runtime, output something mentioning it, like a warning: "logback: no configuration files found, defaulting to BasicConfigurator DEBUG level to STDOUT" As it is sometimes you get DEBUG logs showing up on the screen and have no idea what's occurring...or what's misconfigured. Thanks! -roger-

You mean like the following? http://logback.qos.ch/manual/configuration.html#automaticStatusPrinting On 24.10.2019 20:41, Roger Pack wrote:
It might be helpful to, if no logback configuration files are found at runtime, output something mentioning it, like a warning:
"logback: no configuration files found, defaulting to BasicConfigurator DEBUG level to STDOUT"
As it is sometimes you get DEBUG logs showing up on the screen and have no idea what's occurring...or what's misconfigured.
Thanks! -roger- _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
-- -- Ceki Gülcü

On Thu, Oct 24, 2019 at 10:06 PM Ceki <ceki@qos.ch> wrote:
You mean like the following?
http://logback.qos.ch/manual/configuration.html#automaticStatusPrinting
Yes, but also print that out if there is "no" configuration found (possibly with some message like "no configuration found"). Unless it already does that, I wasn't sure... Thanks!
On 24.10.2019 20:41, Roger Pack wrote:
It might be helpful to, if no logback configuration files are found at runtime, output something mentioning it, like a warning:
"logback: no configuration files found, defaulting to BasicConfigurator DEBUG level to STDOUT"
As it is sometimes you get DEBUG logs showing up on the screen and have no idea what's occurring...or what's misconfigured.
Thanks! -roger- _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
-- -- Ceki Gülcü _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
participants (2)
-
Ceki
-
Roger Pack