[jboss-jira] [JBoss JIRA] (AS7-1389) Log API dependencies should be included automatically in deployments
Scott Hasse (JIRA)
issues at jboss.org
Thu Jan 9 14:33:33 EST 2014
[ https://issues.jboss.org/browse/AS7-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934798#comment-12934798 ]
Scott Hasse commented on AS7-1389:
----------------------------------
I understand JBoss might be more than just a JEE server, but when deploying a JEE application the basic container/application contract should be the JEE specification. Providing classloader visibility to a specific version of commons logging, log4j and slf4j by default causes problems for the hundreds of applications I work with. We've implemented isolated classloader repositories on previous EAP versions and still had to open over half a dozen support cases related to broken container isolation related to JBoss-provided logging implementations.
Justifying this decision based on subjective philosophy and community feedback seems to put you down a slippery slope toward including everything and the kitchen sink. The spec seems like much firmer ground for JEE apps in particular.
> You're talking about users packaging logging libraries with their own configuration which is very definitely not portable behavior anyway.
Do you still stand by this statement as well? Because it seems to me you've got it exactly backwards. Again, logging is not a JEE facility, so packaging your own is the portable approach.
>Since changing it will then be a simple matter...
In my opinion a more correct default would be better than a simple way to change a bad default.
Regards,
Scott
> Log API dependencies should be included automatically in deployments
> --------------------------------------------------------------------
>
> Key: AS7-1389
> URL: https://issues.jboss.org/browse/AS7-1389
> Project: Application Server 7
> Issue Type: Bug
> Components: Logging
> Affects Versions: 7.0.0.Final
> Reporter: David Lloyd
> Assignee: James Perkins
> Fix For: 7.1.0.Final
>
>
> The following log APIs should be included by deployments by default:
> * {{org.slf4j}}
> * {{org.apache.commons.logging}}
> * {{org.log4j}}
> These dependencies should override the deployment's versions of these libraries unless explicitly excluded by {{jboss-deployment-structure.xml}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list