How to save a Studio-run StreamBase application console log to a file

How to save a Studio-run StreamBase application console log to a file

book

Article ID: KB0076098

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

When run from StreamBase Studio, application output goes into the Console view, but is not automatically saved to a file. It is often useful for troubleshooting to have a complete record of the console output.

Issue/Introduction

The "File" setting of a Run or Launch Configuration will allow saving the console output to a file.

Resolution

For background information, see the StreamBase Studio Help under menu:

StreamBase 7: Help > Help Contents > TIBCO StreamBase Documentation > Test/Debug Guide > Running StreamBase Applications > Editing Launch Configurations. Review the general instructions for creating a Launch Configuration.

TIBCO Streaming 10: Help > Help Contents > TIBCO Streaming > Test/Debug Guide > Studio Run Configurations > Editing EventFlow Run Configurations. Review the general instructions for editing a Run Configuration.

In the active Run Configuration, on the Common tab, in the "Standard Input and Output" section, enable the "File" option and provide a file path and name for the log output.

When this Run Configuration is used to execute the application from Studio, the console output will be visible in the Console tab within Studio, and will also be written to the specified file.