[jboss-jira] [JBoss JIRA] (WFLY-9431) Not able to separate application(EAR) logging with the use of logging profile

James Perkins (JIRA) issues at jboss.org
Tue Oct 10 15:11:00 EDT 2017


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

James Perkins moved WFCORE-3351 to WFLY-9431:
---------------------------------------------

               Project: WildFly  (was: WildFly Core)
                   Key: WFLY-9431  (was: WFCORE-3351)
            Issue Type: Task  (was: Bug)
           Component/s: Logging
                        Test Suite
                            (was: Logging)
    Steps to Reproduce:   (was: 1. Start server instance with attached standalone.xml file(Logging subsystem contains logger-profile configuration)
2. Deploy both EAR files and access them
3. Check log files.

*Note:* The following reproducer only works on WildFly Full, but the issue itself is likely in WIldFly Core.
To reproduce with the attached {{logging-profile.zip}} do the follow:
# Build the project and deploy the EAR.
## With maven you can do {{mvn clean isntall && cd ear && mvn wildfly:deploy -Pconfigure-logging}} 
# In a browser go to http://localhost:8080/test-war-one/rest/log
# Next go to http://localhost:8080/test-war-two/rest/log, here you'll see less log messages
# Now if you go to http://localhost:8080/test-war-one/rest/read you'll see a mix of log messages from both WAR's)


> Not able to separate application(EAR) logging with the use of logging profile
> -----------------------------------------------------------------------------
>
>                 Key: WFLY-9431
>                 URL: https://issues.jboss.org/browse/WFLY-9431
>             Project: WildFly
>          Issue Type: Task
>          Components: Logging, Test Suite
>            Reporter: James Perkins
>            Assignee: James Perkins
>         Attachments: 01933631-new.tar.gz, logging-profile.zip
>
>
> Two ear files are deployed on EAP instance and both are configured to use different logging profile through EAR/META-INF/MANIFEST.MF file.
> WAR file from EAR uses some libraries those are present in the "lib" folder of each ear file. Application1.ear which logs in app1.log  and Application2.ear which logs in app2.log.
> when we access application we can see logging from EAR1 into EAR2 log file .



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list