Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10486

improve logging of connector services

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 13.0.0.Final
    • JCA
    • None

      While looking into WFLY-9978 I noticed that a lot of different connector services log the same message.

      2018-03-07 16:04:34,039 DEBUG [org.jboss.as.connector.subsystems.resourceadapters] (MSC service thread 1-6) Starting ResourceAdapters Service
      

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

      :~/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");
      

            smaestri@redhat.com Stefano Maestri
            msimka@redhat.com Martin Simka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: