Re: [SNMP4J] log warnings

fock at agentpp.com fock at agentpp.com
Wed Aug 25 22:20:01 CEST 2004


Hi,

Please see the documentation of log4j for details.
The easiest way to supress any logging is:

import org.log4j.*

BasicConfigurator.configure();
Logger.getRootLogger().setPriority(Priority.OFF);

Hope this helps.

Best regards,
Frank

Bharat Dighe <bdighe at gmail.com> schrieb am 24.08.2004, 05:37:37:
> Hi,
> 
> I am using snmp4j for sending v2 traps. I am able to send the trap properly but
> I am getting following log4j warnings. Any clues how to fix/supress these
> warnings ?
> =====
> log4j:WARN No appenders could be found for logger (org.snmp4j.security.Salt).
> log4j:WARN Please initialize the log4j system properly.
> =====
> 
> Regards
> - Bharat
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://p15141779.pureserver.info/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list