El Lunes, 1 de Febrero de 2010, Elena-Ramona Modroiu escribió:
Hi,
I added two new functions to xlog (modules_k):
- xlogl(level, message)
- xdbgl(message)
They are similar to the existing functions, in addition they print the
config line at the beginning of the message. The printed value is:
"cfglineno:message"
In this way you can spot easily in the logs where the function was used
to print a particular message.
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xlog/xlog.
html
Great!
What about when there are "include"?
--
Iñaki Baz Castillo <ibc(a)aliax.net>