You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2011/05/12 21:38:11 UTC

DO NOT REPLY [Bug 51192] New: Appender dynamic MBean Threshold not accessible through jconsole

https://issues.apache.org/bugzilla/show_bug.cgi?id=51192

             Bug #: 51192
           Summary: Appender dynamic MBean Threshold not accessible
                    through jconsole
           Product: Log4j
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: chaz2cool@hotmail.com
    Classification: Unclassified


Created attachment 26992
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=26992
lines 223-233  & lines 289-303 have been added

When using Jconsole and visual VM and when the appender threshold level is set;
Threshold shows up as 'unspecified', as a result is can not be changed or set
through jconsole. It appears that special care has been taken for priority in
LoggerDynamiMBean for get and set attribute. Same needs to be done for
AppenderDynamicMBean

suggested fix: please see attached file (basically contains code copied from
LoggerDynamicMBean)
lines 223-233
lines 289-303

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 51192] Appender dynamic MBean Threshold not accessible through jconsole

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51192

Chandrasekaran Sunderarajulu <ch...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|trivial                     |normal

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 51192] Appender dynamic MBean Threshold not accessible through jconsole

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51192

Chandrasekaran Sunderarajulu <ch...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 51192] Appender dynamic MBean Threshold not accessible through jconsole

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51192

Chandrasekaran Sunderarajulu <ch...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26992|0                           |1
        is obsolete|                            |

--- Comment #1 from Chandrasekaran Sunderarajulu <ch...@hotmail.com> 2011-05-13 18:17:12 UTC ---
Created attachment 26998
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=26998
lines 223-233  & lines 289-307

previous attachment was unable to change threshold to blank from a value

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org