Hi Ceki,

The jira is created: http://jira.qos.ch/browse/LBSITE-20

Sorry for sending to the wrong list, my morning coffee hasn't kicked in yet ... 
:-)

Regards
Zoltan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ceki Gulcu
Sent: Monday, October 27, 2008 10:21 AM
To: slf4j developers list
Subject: Re: [slf4j-dev] Logback autoconfiguration documentation is misleading

Hello Zoltan,

This is actually a logback issue. May I ask you to please create a jira entry 
in http://jira.qos.ch ? Thank you.

Szel, Zoltan (IT) wrote:
> Hello all,
>
> we have hit this problem a couple of times so i think it worth rising
> it. The Logback documentation about autoconfiguration says:
>
>    1.
>       Logback tries to find a file called /logback-test.xml/ *in the
>       classpath.*
>    2.
>       If no such file is found, it checks for the file /logback.xml/.
>    3.
>       In case neither file is found, logback configures itself
>       automatically using the |BasicConfigurator|
>       
> <http://logback.qos.ch/xref/ch/qos/logback/classic/BasicConfigurator.html>
>       which will cause logging output to be directed on the console.
>
> This is very misleading, one might think he/she can put the
> logback.xml file anywhere in the classpath but Logback will find it
> only if it is in the top of the classpath(e.g.: right under the
> packages folder). Could you please fix the docs?
>
> Best regards,
> Zoltan Szel
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://www.slf4j.org/mailman/listinfo/dev

--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to