浏览代码

misc/examples: added log_prefix to basic and oob examples

Daniel-Constantin Mierla 7 年之前
父节点
当前提交
b32c5fc258
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 0
      misc/examples/pkg/kamailio-basic.cfg
  2. 2 1
      misc/examples/pkg/kamailio-oob.cfg

+ 1 - 0
misc/examples/pkg/kamailio-basic.cfg

@@ -103,6 +103,7 @@ memdbg=5
 memlog=5
 
 log_facility=LOG_LOCAL0
+log_prefix="{$mt $hdr(CSeq) $ci} "
 
 fork=yes
 children=4

+ 2 - 1
misc/examples/pkg/kamailio-oob.cfg

@@ -157,6 +157,7 @@ memdbg=5
 memlog=5
 
 log_facility=LOG_LOCAL0
+log_prefix="{$mt $hdr(CSeq) $ci} "
 
 fork=yes
 children=4
@@ -171,7 +172,7 @@ children=4
 /* add local domain aliases */
 #alias="sip.mydomain.com"
 
-/* uncomment and configure the following line if you want Kamailio to 
+/* uncomment and configure the following line if you want Kamailio to
    bind on a specific interface/port/proto (default bind on all available) */
 #listen=udp:10.0.0.10:5060