Logging
This page describes how to configure logging for a Backup.
Configuring logging level
Section titled “Configuring logging level”You can configure the logging level for a Backup by setting the RUST_LOG environment variable in the Backup specification.
apiVersion: io.kannika/v1alphakind: Backupmetadata: name: backupspec: source: "my-kafka" sink: "my-storage" extraEnvVars: - name: RUST_LOG value: "debug"The available logging levels are:
error: Logs only error messages.warn: Logs warning and error messages.info: Logs informational messages, warnings, and errors.debug: Logs detailed debugging information, informational messages, warnings, and errors.trace: Logs very detailed tracing information, debugging information, informational messages, warnings, and errors.