open_failed

Diagnostic `nanook::adapters::open_failed`

Summary

adapter `{0}` failed to open `{1}`

Help

verify the path is writable and the parent directory exists

Details

When this fires

The file adapter couldn't open its log path for append. The path comes from the adapter's path opt in nanook.toml, falling back to <temp>/nanook-metrics.log when unset. OpenOptions::create(true).append(true) does not create missing parent directories, so a typo'd folder is the most common cause.

What to check

  • OpenOptions::create(true).append(true) will not create missing parent directories. mkdir -p the parent if needed.
  • For full disk or read-only mount: df -h and mount | grep <path>.
[[adapters]]
kind = "file"
path = "/var/log/nanook/metrics.log"
rotate = "daily"