[logback-dev] helpful to warn when not configured?

Roger Pack rogerdpack2 at gmail.com
Wed Nov 6 16:01:24 CET 2019


On Thu, Oct 24, 2019 at 10:06 PM Ceki <ceki at 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 at qos.ch
> > http://mailman.qos.ch/mailman/listinfo/logback-dev
> >
>
> --
> --
> Ceki Gülcü
> _______________________________________________
> logback-dev mailing list
> logback-dev at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-dev


More information about the logback-dev mailing list