-f -Le -Dhandler:inject -Ddebug or
-f /tmp/snmp.log -Le -Dhandler:inject -Ddebug or
-Lo -Dhandler:inject -Ddebug
   yeilded no log file - all msgs went to screen but only had the output from 
snmp_log msgs - none from the DEBUG handler:inject




-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Thursday, May 28, 2009 10:07 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c

2009/5/28 Joan Landry <joan.lan...@overturenetworks.com>:
> This is my snmpd input line
>
> OPTIONS="-Lf /tmp/snmp.log -Dhandler:inject -Ddebug -Dwarning -Dinfo 
> -Derror -DAll -p /var/run/snmpd.pid  -V ..

Try starting the agent with   '-f -Le'  plus the same list of -D tokens.
What do you see logged?    The same as when you use '-Lf' or something
different?

i.e. try to determine whether the issue is with your choice of debug tokens, or 
the introduction of file logging.

Dave

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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