Feature Requests item #2537671, was opened at 2009-01-26 13:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756079&aid=2537671&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Stefano Sabatini (stesaba)
Assigned to: Nobody/Anonymous (nobody)
Summary: Log sofia-sip modules through su_log()

Initial Comment:
Currently sofia-sip only permits to log through a custom logger function only 
the messages issued by the su module, for the other messages there is the 
X_PORT/X_DEBUG/X_DUMP mechanism which uses environment variables to set for 
each module a distinct log file and level.

Exporting in the public headers a su_log_t struct for each module (nua_log, 
tport_log, nth_log etc.) should make possible to define a logger for each one 
of the modules.

This way should be possible to integrate the sofia logging facility (not only 
those related to the su module) into one's application log system.

I'm still trying to undestand how to do that, but Pekka noted in the list that 
there could be some difficulties involving the exporting of arrays in the 
windows and symbian platforms.

Anyway I think it would be a nice feature, I'll try to provide a patch 
eventually.

Best regards.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756079&aid=2537671&group_id=143636

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to