A tail logging system for reporting CF worker statuses to Discord.
- Clone project, run
npm ci - Copy
.env.exampleto.env - Add your Discord webhook URL to the
.envfile - Run
npx wrangler deploy --secrets-file=.env - Add tail logger to producer
wrangler.tomlfiles like below
Add to projects by adding the following to your producer worker:
[[tail_consumers]]
service = "taillog"Set your worker names in the attached KV. Valid values are:
- exception
- error
- warn
- log
- info
- debug
- all
