Document Type | Technical Information
Category | Administration
Document Number | TADTI064
Overview
This is the method to set the related parameters to save CLI logs.
Method
1. Set Windows Environment Variables
(1) TBCLI_LOG_LVL
//Specifies the log level for tbCLI.
Options (Default: DEBUG)
Option |
Description |
|---|---|
FATAL |
When a serious error requires the application to stop |
ERROR |
Application tasks continue to be performed |
WARN |
Not an error, but a potential problem |
INFO |
Information to track the progress of the application, generally coarse-grained information (e.g., API calls) |
DEBUG |
Fine-grained logging helpful for debugging the application (e.g., logging parameters, temporary values during calculations, etc.) |
TRACE |
Detailed information providing more logging detail than DEBUG (e.g., unformatted binary data dumps, memory dumps, etc., extended dump logs) |
INTERNAL |
Logs the most detailed information, used only for internal debugging (e.g., lock information) |
(2) TBCLI_LOG_DIR
//Specifies the directory to save tbCLI logs.
2. Relaunch cmd in Administrator Mode
CLI logs are generated without restarting Tibero.
Note
Detailed examples of related operations can be found in the linked posts below.