syslog / debug log issue

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E4170013A5B46@dexbe012-6.exch012.intermedia.net>
Does anyone know how to get the snmp_log messages turned on?
In the subagent - the net-snmp code has numerous calls to
            snmp_log(LOG_WARNING,"got %d while setting request error\n",
rc);
I need to know how to get these messages into a log file?
 
Any info on this would be greatly appreciated.
 
I have tried all of the following and nothing works so far:
 snmp_disable_stderrlog(); 
  snmp_enable_filelog("/var/log/subagent.log", 0); 
  snmp_get_do_logging();
  snmp_log_options_usage("\t", stdout);
  snmp_enable_syslog();
  snmp_enable_calllog();

thanks

------------------------------------------------------------------------------
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 asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.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.