[SNMP4J] Re:Enable logging in SNMP4J (Pavel Orehov)
通子
ytsun04 at 163.com
Fri Aug 24 02:52:20 CEST 2007
Modify the code in class org.snmp4j.tools.console.SnmpRequest.
// initialize Java logging
static {
LogFactory.setLogFactory(new Log4jLogFactory());
PropertyConfigurator.configure("log4j.properties");
// LogFactory.setLogFactory(new JavaLogFactory());
BER.setCheckSequenceLength(false);
}
?2007-08-23?snmp4j-request at agentpp.org ???
>Send SNMP4J mailing list submissions to
> snmp4j at agentpp.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>or, via email, send a message with subject or body 'help' to
> snmp4j-request at agentpp.org
>
>You can reach the person managing the list at
> snmp4j-owner at agentpp.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of SNMP4J digest..."
>
>
>Today's Topics:
>
> 1. Dependant table row not removed (Senthil Muniswamy)
> 2. Re: Dependant table row not removed (Frank Fock)
> 3. Enable logging in SNMP4J (Pavel Orehov)
> 4. Inform Listener (Vinay_Kenchappa)
>
>
>---------------------------------------------------------------------->Message: 1
>Message: 3
>Date: Thu, 23 Aug 2007 08:47:58 +0300
>From: "Pavel Orehov" <pavel.orehov at gmail.com>
>Subject: [SNMP4J] Enable logging in SNMP4J
>To: snmp4j at agentpp.org
>Message-ID:
> <79b0d1800708222247g6f97b898g152f6607218e11a3 at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi,
>
>I am looking for some example about how to enable logging in SNMP4J.
>
>Thanks,
>Pavel
>
>
>------------------------------
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>End of SNMP4J Digest, Vol 43, Issue 20
>**************************************
>
More information about the SNMP4J
mailing list