Logging
This page describes how to configure logging for a Restore.
Configuring logging level
Section titled “Configuring logging level”You can configure the logging level for a Restore by setting the RUST_LOG environment variable in the Restore specification.
apiVersion: io.kannika/v1alphakind: Restoremetadata: name: restorespec: source: "my-storage" sink: "my-kafka" 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.