Skip to content

0.30.0 — Slack webhook for logs

Choose a tag to compare

@lauzis lauzis released this 18 Aug 15:11
· 2 commits to main since this release

Log entries can now be posted to a Slack incoming webhook.

Two fields on the Logging settings: the webhook URL, and whether Slack gets errors only (the default) or every entry. Errors are posted even with file logging switched off.

  • Fire-and-forget, so a log call never makes the page wait on Slack — the cost is that a webhook Slack rejects fails quietly.
  • Only https:// URLs are used: the URL is itself the credential.
  • "Every log entry" means one request per entry against a webhook Slack rate-limits to about a message a second, so it belongs on a specific investigation rather than left on — a background Interpunction Check over a few hundred posts would spend the whole budget on routine lines.

Bundled lauzis/wp-plugin-packages updated to 1.15.0. Also carries the pending chore: build vendor/ rather than committing it work from develop. 204 tests green.