question on AgentX sub-agent logging

"Steve S. Law" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

So far I have been using printf statements in my
sub-agent. I want to log them into a file instead, so
in the sub-agent main program, I set 'syslog' to 1
which invokes snmp_enable_callog(). However, when I
run it, I don't see any thing on the screean but I
don't know where and if anything is being logged at
all in any file.

Can you tell me what I should do? Do I need to write
more code? what is DEBUGMSG for? I should use DEBUGMSG
instead of printf in my code? What would be the name
of the log file and where would it be?

Thanks
Steve


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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.