Re: Log files

2009-02-23 Thread Dave Shield
2009/2/23 B V Narasimhulu : > I want to direct the messages of snmp_log () with priority 0 to 6, to logfile > /var/lod/snmpd.log, > and the messages with priority LOGDEBUg to a file /var/log/snmp_debug.log > file. > For this, i'm seeting the arguments as below. Is it correct ? Close, but not qui

Re: Log files

2009-02-23 Thread B V Narasimhulu
t -Lf 0-6 /var/log/snmpd.log -Lf 7 /var/log/snmp_debug.log. Regards, Narasi. --- On Mon, 23/2/09, B V Narasimhulu wrote: > From: B V Narasimhulu > Subject: Re: Log files > To: "Dave Shield" > Date: Monday, 23 February, 2009, 10:43 AM > hi, > From my code, i&

Re: Log files

2009-02-19 Thread Dave Shield
2009/2/19 B V Narasimhulu : > Right now the net-snmp log-message from both snmp_log() and DEBUGMSGTL() > are logging to same snmpd.log file. snmp_log messages are typically logged at priority LOG_WARNING or LOG_ERR DEBUGMSG messages are logged at priority LOG_DEBUG > Is there anyway to seperate