Skip to main content
The Log capability manages the [Log] table described in LoggingLevel and Format. All endpoints on this page require the Log capability to be enabled; see Management API for how capabilities work.

Log level

GET returns the currently configured level. PATCH requires level and writes it to [Log].Level.

Log format

GET returns the currently configured format. PATCH requires format and writes it to [Log].Format.

Requires-restart

The Kernel’s logger is built once at startup from whatever [Log] contained at that time. Both endpoints compare the configured value against the one the running process actually applied (case-insensitively) and report the difference as requires_restart. This shows up on a plain GET too, not just right after a PATCH — if someone edited config.toml directly and reloaded, GET /api/log/level already reports requires_restart: true before any API call changes anything. It goes back to false once the configured value matches what’s applied again, whether that’s from restarting the Kernel or from writing the previous value back.