[jboss-jira] [JBoss JIRA] (WFCORE-3205) Logging does not work in the embedded server

James Perkins (JIRA) issues at jboss.org
Thu Aug 24 12:15:00 EDT 2017


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

James Perkins commented on WFCORE-3205:
---------------------------------------

It looks like the jboss-logmanager in the cases of a standalone application may be getting loaded twice. Since the {{org.wildfly.core:wildfly-embedded}} has a dependency on {{org.jboss.logmanager:jboss-logmanager}} using Maven or another build tool may bring in the log manager dependency. This will get loaded on the JVM's default class loader, then the modular class loader will load the library again. Excluding the dependency on the log manager seems to resolve the issue.

> Logging does not work in the embedded server
> --------------------------------------------
>
>                 Key: WFCORE-3205
>                 URL: https://issues.jboss.org/browse/WFCORE-3205
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>            Reporter: James Perkins
>            Assignee: James Perkins
>
> When using the {{EmbeddedProcessFactory}} logging does not appear to work. Debugging shows a different {{LogContext}} associated with the loggers than the one associated with the logging subsystem.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list