[OpenSER-Devel] changing debug level on the fly
Juha Heinanen
jh at tutpro.com
Thu May 29 06:34:35 CEST 2008
while doing performance tests, i tried to look for a way to change debug
level on the fly using a mi function, but didn't find any. did i
somehow managed to miss such a mi function? description on debug
keyword in core cookbook does not mention about a way to change debug
level.
i know that i could enclose each xlog call within an if statement test
on a shared memory variable, but that would be too way too cumbersome
and would increase the size of the cfg file considerably.
in sems, i can change log level on the fly like this:
sems-stats -c "set_loglevel 1"
if there is nothing now, would it be too late to implement such a
feature before 1.4 code freeze?
-- juha
More information about the Devel
mailing list