Hi all, I've been able to redirect the log of sofia-sip su module using the public symbol su_log_global and su_redirect_log().
I would like to do the same with the tport module, this in order to have the SIP messages on a unique log file, thus simplifying debugging. Unfortunately the tport module hasn't a public tport_log symbol, but a private one defined in tport/tport_logging.c so I can't redirect its log to my logging system, and I have to use instead the env variables TPORT_LOG (which enables it), TPORT_DEBUG (level of debugging), TPORT_DUMP (the name of the file). I wonder if there is some way to redirect the tport log, if that's not possible I'd like to know from the devs which way they suggest to accomplish that modifying the source, maybe simply making tport_log public should do the trick. Regards and thanks again for the cool bits. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel