[OpenSIPS-Devel] [OpenSIPS/opensips] 0b585d: Add a new "log_prefix" global setting
Liviu Chircu
noreply at github.com
Fri Mar 4 16:59:56 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 0b585d2bdd84a0f550131b6d973c328ca0d86174
https://github.com/OpenSIPS/opensips/commit/0b585d2bdd84a0f550131b6d973c328ca0d86174
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths:
M cfg.lex
M cfg.y
M dprint.c
M dprint.h
Log Message:
-----------
Add a new "log_prefix" global setting
This setting applies to both internal logs (from C code) and script logs
(via xlog()). By default, the logs will look the same as before. Once
a prefix string is set, the logs will resemble:
my_new_prefix:DBG:core:subst_run: running. r=0
my_new_prefix:DBG:core:subst_run: matched (9, 1): [(]
my_new_prefix:DBG:core:subst_run: running. r=0
my_new_prefix:DBG:core:subst_run: matched (14, 1): [)]
my_new_prefix:DBG:core:subst_run: running. r=1
my_new_prefix:DBG:core:comp_scriptvar: str 20: +4434932212
my_new_prefix:DBG:core:pv_printf: final buffer length 29
my_new_prefix:XXX - this is a script xlog()
my_new_prefix:DBG:core:release_dummy_sip_msg: cleaning the static sip msg 0x7f14fb1732c8
More information about the Devel
mailing list