Logging and monitoring for exceptions

I don't want to use Sentry for this current project. It's a small private app with very limited memberships.

I want to use Workers Trace Events and push my logs to an R2 bucket. I see in the docs how to accomplish this but I'm confused as to the roll or a Tail worker in the process?

Here's what I'm thinking...

I use Workers Trace Events and send custom console.logs only when my Workers hits a non-200 response. I can send the function that was being called and the endpoint that failed.

But would this be better accomplished in a Tail Worker?

Thanks for any help on getting some simple exception logging setup.
Was this page helpful?