Skip to content

logger: allow redirecting logs to a file

When investigating issues with CKI_LOGGING_LEVEL=DEBUG, the default logging output to stderr might be invisible if stderr is redirected, e.g. for CLI tools invoked by scripts.

To work around that, allow to collect the log output in a dedicated log file via CKI_LOGGING_FILE.

Useful for debugging infrastructure#138

Edited by Michael Hofmann

Merge request reports