Discussion:
[recon-devel] SipXHelper class, unified logging
Daniel Pocock
2014-03-26 17:00:59 UTC
Permalink
I've added a class called SipXHelper in recon

Using it is trivial, just call the static method:


SipXHelper::setupLoggingBridge("my_application");


This configures the sipXtapi logger to send all log messages to the
reSIProcate logger

Scott, would you be happy for me to put this in MOHParkServer and
testUA? They currently call sipXtapi logging setup functions directly.
Scott Godin
2014-03-28 18:55:51 UTC
Permalink
Works for me - thanks.

Scott
Post by Daniel Pocock
I've added a class called SipXHelper in recon
SipXHelper::setupLoggingBridge("my_application");
This configures the sipXtapi logger to send all log messages to the
reSIProcate logger
Scott, would you be happy for me to put this in MOHParkServer and
testUA? They currently call sipXtapi logging setup functions directly.
_______________________________________________
recon-devel mailing list
List Archive: http://list.resiprocate.org/archive/recon-devel/
Joegen Baclor
2014-03-29 01:01:16 UTC
Permalink
FYI. There is a better and faster logger implementation that is a
drop-in (almost) replacement for OsLogger here:
https://github.com/SIPfoundry/sipxecs/blob/release-4.6/sipXportLib/include/os/OsLogger.h.
The old logger was deadlocking and we decided to simply replace it.
Post by Scott Godin
Works for me - thanks.
Scott
I've added a class called SipXHelper in recon
SipXHelper::setupLoggingBridge("my_application");
This configures the sipXtapi logger to send all log messages to the
reSIProcate logger
Scott, would you be happy for me to put this in MOHParkServer and
testUA? They currently call sipXtapi logging setup functions directly.
_______________________________________________
recon-devel mailing list
List Archive: http://list.resiprocate.org/archive/recon-devel/
_______________________________________________
recon-devel mailing list
List Archive: http://list.resiprocate.org/archive/recon-devel/
Loading...