Skip to content

Logging

This page describes how to configure logging for a SchemaRegistryRestore.

You can configure the logging level for a Backup by setting the RUST_LOG environment variable in the SchemaRegistryRestore specification.

apiVersion: kannika.io/v1alpha
kind: SchemaRegistryRestore
metadata:
name: confluent-registry-restore
spec:
registry: confluent-registry
storage: gcs-schema-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.