[jboss-jira] [JBoss JIRA] (WFLY-4439) jboss-deployment-structure.xml does not exclude-subsystem named logging

Gerry Matte (JIRA) issues at jboss.org
Tue Mar 17 18:32:18 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerry Matte updated WFLY-4439:
------------------------------
    Description: 
While attempting to use logback logging in a web application, I tried to use a jboss-deployment-structure.xml in my WEB-INF/classes folder to exclude the logging subsystem so that I could use logback configured in my webapp.

That method failed to prevent the logging subsystem from being excluded from my deployment.

However, when I added the tag add-logging-api-dependencies value="false" to the logging subsystem, logback began to work.

I'm not sure if this solution would cause problems with other webapps - I would have preferred to use jboss-deployment-structure.xml instead so as to make the smallest change to my wildfly configuration.

  was:
While attempting to use logback logging in a web application, I tried to use a jboss-deployment-structure.xml in my WEB-INF/classes folder to exclude the logging subsystem so that I could use logback configured in my webapp.

That method failed to prevent the logging subsystem from being excluded from my deployment.

However, when I added the tag add-logging-api-dependencies value="false" to then logging subsystem, logback began to work.

I'm not sure if this solution would cause problems with other webapps - I would have preferred to use jboss-deployment-structure.xml instead so as to make the smallest change to my wildfly configuration.



> jboss-deployment-structure.xml does not exclude-subsystem named logging
> -----------------------------------------------------------------------
>
>                 Key: WFLY-4439
>                 URL: https://issues.jboss.org/browse/WFLY-4439
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 8.2.0.Final
>         Environment: Microsoft Windows 7, Oracle JDK 7, Eclipse Luna
>            Reporter: Gerry Matte
>            Assignee: Jason Greene
>            Priority: Minor
>
> While attempting to use logback logging in a web application, I tried to use a jboss-deployment-structure.xml in my WEB-INF/classes folder to exclude the logging subsystem so that I could use logback configured in my webapp.
> That method failed to prevent the logging subsystem from being excluded from my deployment.
> However, when I added the tag add-logging-api-dependencies value="false" to the logging subsystem, logback began to work.
> I'm not sure if this solution would cause problems with other webapps - I would have preferred to use jboss-deployment-structure.xml instead so as to make the smallest change to my wildfly configuration.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list