On Thu, 4 Aug 2005 15:44:09 -0700 (PDT) Steve wrote: SSL> In my sub-agent program, I have snmp_enable_calllog() and SSL> several snmp_log()calls but nothing is being logged in SSL> /var/log/snmpd.log file (default?). I thought SSL> snmpd.log is only for AgentX master agent and not for SSL> sub-agent?
You are right, I missed that part of your message. Try explicity specifying the file name by calling snmp_enable_filelog("/path/to/file.log", 1); calllog is something entirely different (a callback funtion for logging, generally to integrate with some existing logging mechanism). -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users