[SR-Users] Using a specific log level for "script" ?

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Wed Dec 30 18:14:53 CET 2020


Hello,


Is it possible to set a specific log level for the Kamailio script ?
I've seen that the < debugger > module allows to do that with modules or < core > :

https://kamailio.org/docs/modules/5.4.x/modules/debugger.html#dbg.p.mod_level


So I've tried to do :

modparam("debugger", "mod_level_mode", 1)
modparam("debugger", "mod_hash_size", 5)
modparam("debugger", "mod_level", "my_module=3") // this works
modparam("debugger", "mod_level", "core=3") // also works
modparam("debugger", "mod_level", "script=3") // nope...


But it doesn't seem to work for < script >... :/


Regards,
Nicolas.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201230/1da77854/attachment.htm>


More information about the sr-users mailing list