[sr-dev] [kamailio/kamailio] Gte the current debug level (Issue #3030)

Matthias Urlichs notifications at github.com
Wed Feb 16 16:13:48 CET 2022


#3029 ## Description

While the `kex` module exports a way to temporarily change the debug level, it cannot retrieve the current level.

### Expected behavior

I can write Python code like this:
```
    if KSR.kex.getdebug() > 2:
        ... # generate detailed and somewhat-time-consuming debug output
        ... # which would just get dropped on the floor otherwise
```

#### Actual observed behavior

If there is a way to get Kamailio's current and/or configured debug level, I didn't find it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3030
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3030 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220216/11242885/attachment.htm>


More information about the sr-dev mailing list