Configure Logging
BDT uses the standard log4j framework to record the logs, and allows you to configure log levels using log4j.property file at $BDT_HOME/conf. Log levels can be configured for log files and console.
Configure Log Level for Log Files and Console
To configure log level for log files and console, you can set the log level in the log4j.property file manually. To configure log level for log files via CLI, use -f option (before performing the transformation).
Note
The log file path can be absolute or relative to your application. Do not use the quotes even if the path contains spaces.
Log Levels
| Log Level | Description |
|---|---|
| FATAL | Reserved for internal errors. |
| ERROR | Only error messages are logged. |
| WARN | Logs error messages and warnings. |
| INFO | Logs error messages, warnings, and informational messages. |
| DEBUG | Logs the diagnostic information. |
Note
When you set a log level, all log events with equal or more severe levels are included. Logs with less severe levels are excluded. For example, if ERROR is set as the log level, only the ERROR and FATAL events are included.