Teradata Extension for Tivoli Storage Manager automatically writes diagnostic tracing information to a debug log file. Control the name and location of this log file and the level of tracing using the environment variables BARAMLOG and BARAMLOGLEVEL.
For more information on these variables, see Environment Variables.
By default, the debug log file is called baram_log.txt and is located in the current working directory where ARCMAIN runs. Diagnostic tracing in the debug log is available at the levels shown in the following table.
Level | Description |
---|---|
1 | Defaults to 1 if a log level is not specified. Tracing at this level logs major events, such as opening/closing a file or shutdown. At shutdown, a summary report of I/O counts and number of bytes reads/writes from/to each file displayed. |
2 | Displays call trace information at the BAR_Session level for most functions, except the calls to read/write individual data blocks. |
3 | Logs TSM API function calls and includes more descriptive information about each read/write operation. |
4 | Includes information at trace level 3, in addition to memory buffer information. |
5 | Includes information at trace level 4, and Data Connector function codes and returns. |