[jboss-jira] [JBoss JIRA] (AS7-1389) Log API dependencies should be included automatically in deployments
David Lloyd (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 15 10:28:41 EST 2011
[ https://issues.jboss.org/browse/AS7-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642956#comment-12642956 ]
David Lloyd commented on AS7-1389:
----------------------------------
I see far more users who bundle log JARs by accident and wonder why their logging "doesn't work" than those who bundle them deliberately to bypass the container's logs. I'm really not inclined to cater to what I consider to be a minority case just to be more like Glassfish or whatever.
Unlike other containers we actually provide users with slf4j, commons-logging, log4j, and (working) JUL APIs, any of which may be used to log to the container log. You're talking about users packaging logging libraries with their own configuration which is very definitely not portable behavior anyway. I still think that making logging always just work is a better default.
> 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.CR1
>
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list