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
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&
seperate the messages of snmp_log ()
> from that of the messages from DEBUGMSGTL() ?
For logging via syslog (-Ls), then see syslog.conf(5).
For logging to file (-Lf), then see snmpcmd(1)
In particular, the section LOGGING OPTIONS
> It would be better if we have seperate log files for
Hi,
Right now the net-snmp log-message from both snmp_log() and DEBUGMSGTL() are
logging to same snmpd.log file. Is there anyway to seperate the messages of
snmp_log () from that of the messages from DEBUGMSGTL() ?
It would be better if we have seperate log files for those messages.
Can you