Monday March 20, 2006 ![]() |
JMX, SNMP, Java, etc...Daniel Fuchs blogs on JMX, SNMP, Java, etc... |
...In previous entries I have talked about how to enable JMX traces - and also just any kind of traces which are produced through the java.util.logging APIs. Here is a very short complement to emphasize that the JVM SNMP Agent traces can be enabled likewise... If you've been reading [Tracing JMX - What's going on in my MBeanServer?] and [More on Troubleshooting with JMX] you now know how to:
What I haven't said so far - but that you may have already discovered on your own, is that the JVM SNMP agent also produces traces through the java.util.logging API. Therefore, these traces can be activated in exactly the same way. The loggers used by the JVM SNMP Agent are com.sun.jmx.snmp.daemon and com.sun.jmx.snmp. If you are using a logging.properties file to activate your application traces, then you can also control the JVM SNMP agent traces by specifying levels for these two loggers. For instance, you could add these two lines to your logging.properties:
Otherwise, you can use one of the methods described in my previous blogs to switch on these loggers traces dynamically. Cheers,Tags: java jconsole jmx jvm snmp Posted by dfuchs ( Mar 20 2006, 02:47:13 PM CET ) Permalink Comments [4] |
Posted by 59.92.96.254 on April 05, 2007 at 08:29 PM CEST #
See also Don't fall in the traps and Feeling trapped?.
Posted by daniel on April 06, 2007 at 10:00 AM CEST #
Posted by Myke Naval on June 11, 2007 at 03:07 PM CEST #
Posted by 124.217.8.47 on June 12, 2007 at 10:46 PM CEST #