[weld-issues] [JBoss JIRA] (WELD-845) Do not bundle slf4j static logger binding in weld-servlet.jar

Robin Pradel (JIRA) jira-events at lists.jboss.org
Mon Apr 2 12:22:48 EDT 2012


    [ https://issues.jboss.org/browse/WELD-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681012#comment-12681012 ] 

Robin Pradel commented on WELD-845:
-----------------------------------

Is there any activity in here? I'd like to bind log4j into slf4j but it is impossible when depending on weld-servlet:1.1.5.Final
{code:xml}
<dependency>
	<groupId>org.jboss.weld.servlet</groupId>
	<artifactId>weld-servlet</artifactId>
	<version>1.1.5.Final</version>
</dependency> 
<!-- Excluded for conflict with weld-servlet (https://issues.jboss.org/browse/WELD-845) -->
<!-- 
<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j-log4j12</artifactId>
	<version>1.6.4</version>
</dependency>
-->
{code}
                
> Do not bundle slf4j static logger binding in weld-servlet.jar
> -------------------------------------------------------------
>
>                 Key: WELD-845
>                 URL: https://issues.jboss.org/browse/WELD-845
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Web Tier integration (JSF, JSP, EL and Servlet) 
>    Affects Versions: 1.1.0.Final
>            Reporter: Kariem Hussein
>            Assignee: Ales Justin
>
> Bundling a static logger implementation with the weld-servlet.jar generates a warning that would not be necessary. The weld-servlet.jar (_uber jar_) is still (or arguably more) useful without the binding.
> Opened this ticket as [requested by Pete|http://seamframework.org/Community/Slf4jBindingInWeldservletjar#comment115163] in response to a forum thread. This could be done similar to WELDSE-12 (requested in [this comment|https://issues.jboss.org/browse/WELDSE-12?focusedCommentId=12507903&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12507903]). Assumed that WELDX and it successor SOLDER are not the right projects for this request.
> Related forum posts:
> * [slf4j Binding in weld-servlet.jar|http://seamframework.org/Community/Slf4jBindingInWeldservletjar]
> * [slf4j StaticLoggerBinder - This code should have never made it into the jar|http://seamframework.org/Community/Slf4jStaticLoggerBinderThisCodeShouldHaveNeverMadeItIntoTheJar]
> * [Weld SE and slf4j|http://seamframework.org/Community/WeldSEAndSlf4j]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list