- API Reference
- Box API
- Stats & logs
Read developer logging on/off and the level of each controller logger
Use this before changing log verbosity for debugging. Each logger shows its default and selected level.
GET
/v2/dev_loggingResponses
Logging state.
statusbooleanoptional
msgstringoptional
dataobjectoptional
data.settingsobjectoptional
data.settings.enabledbooleanoptional
data.loggersobject[]optional
data.loggers[].logger_namestringoptional
data.loggers[].default_levelstringoptional
data.loggers[].selected_levelstringoptional
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
Failed to load dev logging settings | The logging configuration could not be read. | Retry; check the box logs. |