Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# SetLogLevel(Stringnameorpattern String Level)

This API can be used to set a specific log level for a specific logger, such as `SetLogLevel`("`as.kit`", "`debug`") will set "`as.kit`" to debug whereas`SetLogLevel`("`as*`", "`debug`") sets all loggers starting with "`as`" to debug.

The system runs through all level configurations when setting the level and the last match supersedes previous configurations.

If you decide to invoke `SetLogLevel`("`as*"`,"`debug`") and later change to `SetLogLevel`("`as.kit`","`info`"), then "`as.kit`" will be INFO.

Similarly, if you decide to invoke `SetLogLevel`("`as.kit`","`debug`") and later change to `SetLogLevel`("`as*`","`info`"), then "`as.kit`" will be INFO.

You can specify more than 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.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.