Set the server log level
set_log_levelChanges the log level of the running Woodpecker server without a restart. Admin only; use debug/trace for diagnostics and restore normal level afterward.
Instructions
Changes the log level of the running Woodpecker server, without a restart. Admin only. "debug" and "trace" are loud — set it back when you are done, and remember that trace logs request bodies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | The new log level. The default is "info". "disabled" turns server logging off entirely — including the records of what happened next. Lowering it below "warn" needs a confirm_token. | |
| confirm_token | No | Required only for the levels that suppress records — fatal, panic and disabled. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |