#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.