Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8530

Cannot enable debug logging for org.jboss.ha

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • Logging
    • None
    • Hide

      Change joss-logging.xml as done in http://pastebin.com/uDXNBBG3

      ./run -c all

      Show
      Change joss-logging.xml as done in http://pastebin.com/uDXNBBG3 ./run -c all

      I uncommented the org.jboss.ha section in jboss-logging.xml and didn't get debug logging output in server.log. I also tried to hack the root-logger to debug.

      My jboss-logging.xml is here http://pastebin.com/uDXNBBG3

      server.log is here http://pastebin.com/GugZg79M

      This is using the "all" profile.

      I ran the AS in a debugger and could see that the logger returned in org.jboss.ha.framework.server.HAServiceImpl has log.logger.loggerNode.effectLevel == 800 (INFO).

      It feels like this is a configuration issue of some sort as debug logging (via the root-logger change) is enabled for other some packages (like org.jboss.modcluster.ha).

      Perhaps we just need more instructions in jboss-logging.xml explaining the additional configuration rules (if there are any) for enabling debug logging.

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: