[sr-dev] git:5.1:3d3798d1: misc/examples: added log_prefix to basic and oob examples

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 1 15:55:39 CET 2018


Module: kamailio
Branch: 5.1
Commit: 3d3798d192c782eb2c4796b758831a7a33ec1ac4
URL: https://github.com/kamailio/kamailio/commit/3d3798d192c782eb2c4796b758831a7a33ec1ac4

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-03-01T15:51:55+01:00

misc/examples: added log_prefix to basic and oob examples

(cherry picked from commit b32c5fc2582bd590b4385f28630c96cacfed3a86)

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/3d3798d192c782eb2c4796b758831a7a33ec1ac4.diff
Patch: https://github.com/kamailio/kamailio/commit/3d3798d192c782eb2c4796b758831a7a33ec1ac4.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