[sr-dev] app_python: expanding log facilities

Konstantin M. evilzluk at gmail.com
Mon Dec 3 20:50:53 CET 2012


Hi Dev,

Modified app_python:

1) Added FLAVOUR support
2) Added python objects:

  Module Properties:
     Log Levels:
         L_ALERT
         L_BUG
         L_CRIT2
         L_CRIT
         L_ERR
         L_WARN
         L_NOTICE
         L_INFO
         L_DBG

     Log Facilities:
         DEFAULT_FACILITY

  Module Methods:
     LM_GEN1(self, int log_level, str msg)
     LM_GEN2(self, int log_facility, int log_level, str msg)
     LM_ALERT(self, str msg)
     LM_CRIT(self, str msg)
     LM_ERR(self, str msg)
     LM_WARN(self, str msg)
     LM_NOTICE(self, str msg)
     LM_INFO(self, str msg)
     LM_DBG(self, str msg)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121203/90001e7b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expand_log_facilities.diff
Type: application/octet-stream
Size: 9849 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121203/90001e7b/attachment-0001.obj>


More information about the sr-dev mailing list