[jboss-jira] [JBoss JIRA] Commented: (JBAS-8530) Cannot enable debug logging for org.jboss.ha

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Fri Oct 22 11:08:55 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558799#action_12558799 ] 

Shelly McGowan commented on JBAS-8530:
--------------------------------------

If you are want to enable TRACE when running the test suite targets, you can add logThreshold to the server config definition in testsuite/imports/server-config.xml.  The default is DEBUG.
-      <server name="all" host="${node0}">
+     <server name="all" host="${node0}" logThreshold="TRACE">


> Cannot enable debug logging for org.jboss.ha
> --------------------------------------------
>
>                 Key: JBAS-8530
>                 URL: https://jira.jboss.org/browse/JBAS-8530
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 6.0.0.CR1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list