[SNMP4J] How to enable logging?

Alex Vavilin avavilin at kimiasol.com
Wed Apr 25 10:41:59 CEST 2012


Hi all,

I need to enable the logging features in SNMP4j. How can I achieve that?
For our projects we use log4j, so I have log4j.xml at the top of 
application's classpath configured the way it logs to console.

It's working pretty fine.

Now I want to enable logging for SNMP4j so I just put the following lines:

<category name="org.snmp4j">
<priority value="DEBUG"/>
</category>

But nothing happens, I can't see a single line of log output from 
SNMP4j. Am I doing something wrong?

Thanks in advance,
Alex Vavilin.




More information about the SNMP4J mailing list