Open topic with navigation

# Log Level Tuning via API

You can tune the log level for all logging elements, or separately per individual elements.

## Tuning for All Elements

In a log-level call, supply one of the string-valued constants in Log Level Reference. For example (in C):

    tib_SetLogLevel(tibEx e, TIB_LOG_LEVEL_WARN)

Alternatively, you can supply an `all` log element tag. See the next section.

## Tuning for Selected Elements

Supply a string of this form:

    "element:level; ... ;element:level"

Pair each element and its log level with a colon, and delimit the pairs with semicolons. For available elements, see Log Element Tags Reference. For example (in C):

    tib_SetLogLevel(tibEx e, "transports:warn;msg:debug")

When elements conflict, pairs that appear later in the list override earlier pairs. For example, `all:off;msg:warn` turns off logging for all elements, except for the messages (`msg`) element, which logs warnings and severe events, thus overriding the preceding `all` element.

Did you find this helpful?

Yes No
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 FTL® - Enterprise Edition

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