[sr-dev] git:master:b32c5fc2: misc/examples: added log_prefix to basic and oob examples

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 28 18:03:32 CET 2018


Module: kamailio
Branch: master
Commit: b32c5fc2582bd590b4385f28630c96cacfed3a86
URL: https://github.com/kamailio/kamailio/commit/b32c5fc2582bd590b4385f28630c96cacfed3a86

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-02-28T18:02:54+01:00

misc/examples: added log_prefix to basic and oob examples

---

Modified: misc/examples/pkg/kamailio-basic.cfg
Modified: misc/examples/pkg/kamailio-oob.cfg

---

Diff:  https://github.com/kamailio/kamailio/commit/b32c5fc2582bd590b4385f28630c96cacfed3a86.diff
Patch: https://github.com/kamailio/kamailio/commit/b32c5fc2582bd590b4385f28630c96cacfed3a86.patch

---

diff --git a/misc/examples/pkg/kamailio-basic.cfg b/misc/examples/pkg/kamailio-basic.cfg
index c53fe8af5c..0ae1b16134 100644
--- a/misc/examples/pkg/kamailio-basic.cfg
+++ b/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
diff --git a/misc/examples/pkg/kamailio-oob.cfg b/misc/examples/pkg/kamailio-oob.cfg
index c76d5c47d7..0e0206643f 100644
--- a/misc/examples/pkg/kamailio-oob.cfg
+++ b/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
 




More information about the sr-dev mailing list