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

Idar Borlaug (JIRA) jira-events at lists.jboss.org
Tue Mar 6 03:32:37 EST 2012


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

Idar Borlaug commented on AS7-4030:
-----------------------------------

I tried creating a jboss-deployment-structure.xml and reloading log4j config which i had before.

<jboss-deployment-structure>
	<ear-subdeployments-isolated>true</ear-subdeployments-isolated>
	<deployment>
		<!-- Exclusions allow you to prevent the server from automatically adding some dependencies     -->
		<exclusions>
			<module name="org.apache.log4j"/>
			<module name="org.slf4j"/>
		</exclusions>
	</deployment>
</jboss-deployment-structure>

Seems not to work, everything is logged to server.log.

Disabling the logging system :) didn't work either.
                
> 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