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

Eduardo Martins (JIRA) issues at jboss.org
Thu Aug 24 10:09:00 EDT 2017


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

Eduardo Martins commented on WFCORE-3205:
-----------------------------------------

The migration tool sets the java environment for JBoss LogManager, using a logging.properties configuration file:

https://github.com/wildfly/wildfly-server-migration/blob/master/build/src/main/resources/jboss-server-migration.sh#L61
https://github.com/wildfly/wildfly-server-migration/blob/master/build/src/main/resources/configuration/logging.properties

and then creates the embedded server like this:

https://github.com/wildfly/wildfly-server-migration/blob/master/wildfly10.0/src/main/java/org/jboss/migration/wfly10/config/management/impl/EmbeddedStandaloneServerConfiguration.java#L71

Everything works fine AFAIK, please note that configuration hides the logs coming from server on the console, these show only on the log file.

> 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