Re: snmpd logging

"H. McManus" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Genexis BV
Message-ID <[email protected]>
On Monday 20 February 2006 12:23, Dave Shield wrote:

> > I'm using the following command to start snmpd:
> > /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid
> >
> > The problem is that nothing is being written to /var/log/snmp and
> > everything is being sent to STDOUT instead.
>
> Does   "... -Lf /var/log/snmpd ...."  work OK?

Yes. Or to be more specific, I get logging entries in /var/log/snmpd AND 
exactly the same text on STDERR as well.

Is that correct? I would have expected not to receive anything on STDOUT if I 
specify a log file.

H.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.