>>>>> On Wed, 23 Nov 2005 09:21:02 +0000, Dave Shield <[EMAIL PROTECTED]> said:

Chris> I think you misunderstand the problem.  Or maybe I do.  If he's built a
Chris> Tcl extension which calls Net-SNMP API functions and those functions
Chris> fprintf(stderr, ...), there's no where to apply the redirection.

Dave> I concur.
Dave> The answer might be to do a blitz on 'snmplib', and convert all
Dave> mentions of "fprintf(stderr,...)" into equivalent "snmp_perror"
Dave> or "snmp_log" calls.

I actually wonder if he hasn't realized that he can configure the
library to send output to somewhere else and that stderr is only the
default...

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to