logging solution with forever retention period?
how do you all do logging in cloudflare worker? which library do you all use?
3 Replies
Why retention limits cap at 7 days? https://developers.cloudflare.com/workers/observability/logs/workers-logs/#limits
Cloudflare Docs
Workers Logs | Cloudflare Workers docs
Store, filter, and analyze log data emitted from Cloudflare Workers.
Storage is expensive :p
The team have talked about increasing the retention period though: https://discord.com/channels/595317990191398933/1283450491837091860/1291411644253077504
For forever, you're best storing them in your own bucket (e.g. sending them to R2, S3, whatever)
You can do that with Logpush (https://developers.cloudflare.com/workers/observability/logs/logpush/
too bad we cant do it for free, I can afford own bucket, but my cloudflare worker does not need to be premium yet
anything you can help here?