[logback-dev] [JIRA] Closed: (LBSITE-20) Logback autoconfiguration documentation is misleading
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Tue Dec 30 16:00:38 CET 2008
[ http://jira.qos.ch/browse/LBSITE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ceki Gulcu closed LBSITE-20.
----------------------------
> Logback autoconfiguration documentation is misleading
> -----------------------------------------------------
>
> Key: LBSITE-20
> URL: http://jira.qos.ch/browse/LBSITE-20
> Project: logback-site
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 0.9.9, 0.9.10
> Reporter: Szel Zoltan
> Assignee: Ceki Gulcu
> Priority: Minor
> Fix For: 0.9.15
>
>
> Hello all,
>
> we have hit this problem a couple of times so i think it worth rising it. The Logback documentation about autoconfiguration says:
> Logback tries to find a file called logback-test.xml in the classpath.
> If no such file is found, it checks for the file logback.xml.
> In case neither file is found, logback configures itself automatically using the BasicConfigurator 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list