[jboss-jira] [JBoss JIRA] (WFLY-10486) improve logging of connector services

Martin Simka (JIRA) issues at jboss.org
Thu May 31 04:51:00 EDT 2018


Martin Simka created WFLY-10486:
-----------------------------------

             Summary: improve logging of connector services
                 Key: WFLY-10486
                 URL: https://issues.jboss.org/browse/WFLY-10486
             Project: WildFly
          Issue Type: Enhancement
          Components: JCA
    Affects Versions: 13.0.0.Final
            Reporter: Martin Simka
            Assignee: Stefano Maestri
            Priority: Minor


While looking into WFLY-9978 I noticed that a lot of different connector services log the same message. 
{noformat}
2018-03-07 16:04:34,039 DEBUG [org.jboss.as.connector.subsystems.resourceadapters] (MSC service thread 1-6) Starting ResourceAdapters Service
{noformat}

It could simplify investigation of issues if they would log actual name of Service. 

{code}
:~/Projekty/redhat/git/wildfly/connector$ git grep "Starting ResourceAdapters"
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/AOConfigPropertiesService.java:            SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/AdminObjectService.java:        SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/CDConfigPropertiesService.java:            SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/ConfigPropertiesService.java:        SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/ConnectionDefinitionService.java:        SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/ResourceAdaptersService.java:        SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdapters Service");
src/main/java/org/jboss/as/connector/subsystems/resourceadapters/ResourceAdaptersSubsystemService.java:        SUBSYSTEM_RA_LOGGER.debugf("Starting ResourceAdaptersSubsystem Service");
{code}



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


More information about the jboss-jira mailing list