API Reference
Dashboard
  1. API Reference
  2. Box API
  3. Stats & logs

Turn developer logging on or off and set logger levels

Use this to raise log verbosity while debugging and to lower it afterwards. The body may be wrapped in data. Loggers without a name or level are skipped. Settings are saved and applied at once; verbose levels make logs grow quickly.

  • Destructive · confirm first
  • Basic auth
  • Panel API · since v20.9.50
  • Hub: needs owner approval
  • setDevLogging
POST/v2/dev_logging

Request body application/json · required

settingsobjectoptional
settings.enabledbooleanoptional
loggersobject[]optional
loggers[].logger_namestringoptional
loggers[].selected_levelstringoptional

DEBUG, INFO, WARNING, ERROR (level is accepted too).

Responses

Result.

statusbooleanrequired

True when the box accepted the request.

msgstringrequired

Outcome code or message (see the operation's error table).

Errors returned in msg

msgMeaningWhat to do
Failed to apply configurationSaving or applying the levels failed.Check logger names and levels.
Configuration failed!Unexpected error.Retry; check the box logs.
Verified against XProxy v21.3.2 on Nov 17, 2026