SNMP logging

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,

I am wondering, does somebody know how to set snmp logging level/priority
in C code?

I went through the docs and found only functions for directing logging
output (such as snmp_enable_stderrlog()).

I would like to turn on the DEBUG level to get all the API messages. I do
NOT mean command line switches for utilities like snmpwalk.

More detailed explanation: I am trying to write a daemon. Somehow, the
handler function does not get called inspite of the fact that
agent_check_and_process(1) get interrupted. I would like to see how is the
UDP request traveling (without using gdb :-)

Thanks.

Milan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.