Hello,

Try it like this:

root@kam01: # kamcmd corex.debug
{
        debug: 2
}
root@kam01:# kamcmd corex.debug 3
{
        old: 2
        new: 3
}
root@kam01:# kamcmd corex.debug 2
{
        old: 3
        new: 2
}

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <[email protected]> On Behalf Of Sam Ware
Sent: Monday, June 29, 2020 9:37 PM
To: [email protected]
Subject: [SR-Users] Changing Debug Level on the fly

I am trying to change the debug level without restarting the service.  My 
research says this is right but I get an error message.

$ sudo -u kamailio kamcmd dbg.set_mod_level core 2
error: 500 - cannot store parameter

--
Sam  D Ware
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to