Logging Tab
Use the Logging tab to manage and configure log sinks.
The adapter defines traces with different roles and sends them to log sinks with the corresponding role. You can either use the default standard I/O for logging or fine-tune where and when different types of information are sent by defining sinks and mapping each sink to one or more roles.
All Log Sinks Panel
If you are using custom roles, use the All Log Sinks panel to manage log sinks and their roles. See Adding Log Sinks for details.
Configuration Panel
In the Configuration panel of a sink, you can specify the logging options for the sink.
Field | Description |
---|---|
Name | The sink name.
The default name is filetSink, stdioSink, networkSink, or hawkSink, depending on the sink type. |
Description | Enter a description for the sink. |
The following fields are displayed for the file sink: | |
File Name | The location and name of the trace file. |
File Limit (bytes) | The maximum size of the file in bytes.
The default value is 30000. |
File Count | The number of rollover files.
The default value is 3. |
Append Mode | Select this check box to add traces to the existing file at startup.
Clear this check box to overwrite the existing file at startup if one of the same name exists. This check box is selected by default. |
The following fields are displayed for the stdio sink: | |
Output Stream |
The information type. Select a information type from the list: |
The following fields are displayed for the network sink: | |
Subject | The subject of TIBCO Rendezvous messages to be sent. |
Session Reference | The transport session. |
The following field is displayed for the Hawk sink: | |
MicroAgent Name | The name of the microagent for traces from the Hawk sink. |
Log Level Panel
In the Log Level panel, you can specify a log level. Different log level defines different trace messages.
The following table lists the fields in the Log Level panel:
Field | Description |
---|---|
Log To Standard I/O | Select this check box to use the console window for logging when you start the adapter configuration.
You can send the information to multiple locations, and you can choose to log one or more message types. This check box is selected by default |
Log Info Messages | Select this check box to send all messages of type
INFO to the specified locations.
This check box is selected by default. |
Log Debug Messages | Select this check box to send all messages of type
DEBUG to the specified locations.
This check box is cleared by default. |
Log Warning Messages | Select this check box to send all messages of type
WARNING to the specified locations.
This check box is selected by default. |
Log Error Messages | Select this check box to send all messages of type
ERROR to the specified locations.
This check box is selected by default. |