[jboss-jira] [JBoss JIRA] Updated: (JBAS-7490) cannot use logback-classic-0.9.17 inside a web application
Anton Kraev (JIRA)
jira-events at lists.jboss.org
Mon Nov 30 17:35:29 EST 2009
[ https://jira.jboss.org/jira/browse/JBAS-7490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Kraev updated JBAS-7490:
------------------------------
Description:
When bundling logback-classic-0.9.17.jar in a web application, the following is reported during startup:
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/server/default/deploy/cwf.war/WEB-INF/lib/logback-classic-0.
9.17.jar/org/slf4j/impl/StaticLoggerBinder.class]
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLogg
erBinder.class]
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
We need access to logback APIs because we configure logging on the fly (change log levels without restarting the app), therefore we need to ship this jar, which in turn contains a static binding.
was:
When bundling logback-classic-0.9.17 in a web application, the following is reported during startup:
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/server/default/deploy/cwf.war/WEB-INF/lib/logback-classic-0.
9.17.jar/org/slf4j/impl/StaticLoggerBinder.class]
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLogg
erBinder.class]
2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
We need access to logback APIs because we configure logging on the fly (change log levels without restarting the app)
> cannot use logback-classic-0.9.17 inside a web application
> ----------------------------------------------------------
>
> Key: JBAS-7490
> URL: https://jira.jboss.org/jira/browse/JBAS-7490
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Logging
> Affects Versions: JBossAS-5.1.0.GA
> Environment: Windows XP
> $ java -version
> java version "1.6.0_12"
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
> Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
> 16:09:30,299 INFO [ServerImpl] Starting JBoss (Microcontainer)...
> 16:09:30,299 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
> Reporter: Anton Kraev
> Assignee: David Lloyd
>
> When bundling logback-classic-0.9.17.jar in a web application, the following is reported during startup:
> 2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
> 2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/server/default/deploy/cwf.war/WEB-INF/lib/logback-classic-0.
> 9.17.jar/org/slf4j/impl/StaticLoggerBinder.class]
> 2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/D:/cw/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLogg
> erBinder.class]
> 2009-11-30 16:11:26,000 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> We need access to logback APIs because we configure logging on the fly (change log levels without restarting the app), therefore we need to ship this jar, which in turn contains a static binding.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list