I have found out where the problem is. The older version of net-snmp (5.3) 
doesn't have the function "shutdown_snmp_logging".

Xuan

From: b...@live.com
To: d.t.shi...@liverpool.ac.uk
CC: net-snmp-users@lists.sourceforge.net
Subject: RE: Duplicated SNMP syslogs
Date: Tue, 1 Dec 2009 11:22:52 -0500








I couldn't figure it out how to call this function in my main program. When I 
compile, I got the following error:

warning: implicit declaration of function shutdown_snmp_logging

Warnings are treated as errors in my make. I added the header file: #include 
<net-snmp/library/snmp_logging.h>, it didn't work either. 

Thanks
Xuan

> Date: Tue, 1 Dec 2009 09:28:15 +0000
> Subject: Re: Duplicated SNMP syslogs
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
> 
> 2009/11/30 X Z <b...@live.com>:
> > Does anyone know how to reset the syslog level to avoid the duplicated 
> > syslogs?
> 
> Call 'shutdown_snmp_logging()' before configuring your new log settings.
> 
> Dave
                                          
Get gifts for them and cashback for you. Try Bing now.                          
          
_________________________________________________________________
Get gifts for them and cashback for you. Try Bing now.
http://www.bing.com/shopping/search?q=xbox+games&scope=cashback&form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_Shopping_Giftsforthem_cashback_1x1
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to