SetLogLevel(Stringnameorpattern String Level)
This API can be used to set a specific logger to a specific level, such as SetLogLevel("as.kit", "debug") will set "as.kit" to debug where as SetLogLevel("as*", "debug") will set all loggers starting with "as" to debug.
Note that the system runs through all level configurations when setting the level and the last match superseeds previous configurations.
If you decide to invoke SetLogLevel("as*","debug") and then SetLogLevel("as.kit","info"), then "as.kit" will be INFO.
Similarly, if you decide to invoke SetLogLevel("as.kit","debug") and then SetLogLevel("as*","info"), then "as.kit" which will be INFO.
You can specify more then one family of loggers with different log levels via the cdd log configuration.
For example,
<roles>dashboard*:debug sql*:debug as*:info</roles>
The log configuration is processed left to right, and therefore
<roles>as*:info as.kit:debug</roles>
will set "as.kit" to debug and
<roles>as.kit:info as*:debug</roles>
will set "as.kit" to debug.