allows pv_format specifier in prefix param
doc/
subfolder, the README file is autogenerated)add prefix_mode
param to xlog to optionally interpret prefix
as a pv_format
specifier.
config
:
mod_param("xlog", "prefix", "$_s([$(cfg(file):$cfg(line)] $ci $(cfg(route){s.tolower}) )")
mod_param("xlog", "prefix_mode", 1)
...
xlog("L_INFO", "hello")
...
output:
66(307) INFO: [my-file.cfg:5] 62795aa2-9696c27c my_route hello
https://github.com/kamailio/kamailio/pull/2845
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.