[jboss-jira] [JBoss JIRA] (AS7-4030) Logback config isn't loaded properly

James Perkins (JIRA) jira-events at lists.jboss.org
Mon Mar 5 18:57:36 EST 2012


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

James Perkins commented on AS7-4030:
------------------------------------

This was never intended to work at all. Global log configurations need to be set in the JBoss configuration file. 

We will be introducing per-deployment log configurations, but logback.xml is not planned to be one of them at this point (see [AS7-514|https://issues.jboss.org/browse/AS7-4030]). Though if you place the configuration file within the WEB-INF/classes directory it might just work.
                
> Logback config isn't loaded properly
> ------------------------------------
>
>                 Key: AS7-4030
>                 URL: https://issues.jboss.org/browse/AS7-4030
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.1.0.Final
>            Reporter: Idar Borlaug
>            Assignee: James Perkins
>
> I start jboss with -Dlogback.configurationFile=/opt/jboss/logback.xml Which is my logback config for my applications. 
> But after upgrading to 7.1.0 from 7.0.2 my apps only log to server.log. And my configuration isn't loaded.
> Jboss shoudn't intercept my logging and destroy it.

--
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