Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Logging Level

For the GWT preview, the setting made in Preferences is the lowest level of logging available in preview. For example, if the logging level is set to `INFO` in the Preferences, you cannot change it to `DEBUG` in the preview pane.

The available log levels (GWT) are:

- FATAL
- ERROR
- WARN
- INFO (The default logging level)
- DEBUG
- TRACE

The verbosity (detail) of logging increases with the logging level in cumulative fashion. For example, the `WARN` level also shows all `ERROR` and `FATAL` messages; `INFO` also shows `WARN` messages; and so on.

You can choose the logging level in the preview pane using `context.form.log` or `context.form.logger`. The `logger` API is available in all the script contexts and it allows the user to log at all logging levels. For details of `log` and `logger` APIs, see API for Scripting. The logging level specified applies only to that specific preview session. Messages logged by user scripts are shown in the `DEBUG` log level.

You can change the default logging level used in the preview tabs in the user preferences, under Window > Preferences > Form Designer > Preview.

At runtime, when GWT Forms are used, you can enable logging by using a URL parameter `log_level`. You need to set the value of the `log_level` parameter to any logging level. The specified log level is enabled in that case. For example, if you access TIBCO Cloud BPM Work Manager as: `http://<server>:<port>/apps/work-manager?log_level=INFO`

You see `INFO`, `WARN`, `ERROR`, and `FATAL` messages in the log viewer.

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 Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.