RE: Duplicated SNMP syslogs

X Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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: [email protected]
To: [email protected]
CC: [email protected]
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: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> 2009/11/30 X Z <[email protected]>:
> > 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.