Elena-Ramona Modroiu wrote:
Iñaki Baz Castillo wrote:
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"?

it is the line in the included file. xlog has now also the reference to the file name, but I haven't printed it not to get the message too long. Could be added a module parameter to control it if people find that useful.
Added a new xlog module parameter long_format for tuning this behavior.
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xlog/xlog.html#id2784730

Regards,
Ramona

_______________________________________________
Kamailio (OpenSER) - Users mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to