Logs are missing in the dashboard
I’m only able to view approximately one day’s worth of logs in my dashboard. Are there specific retention rules for these logs, or is there another issue causing this limitation?
2 Replies
The dashboard will only show logs for the last 1000 functions. Additionally, logs can get cleared when Convex pushes out new updates to your deployments (I had a hard time finding this in our docs, so I'll try and improve our documentation here)
Your best bet for viewing all historical logs is setting up a Log Stream (https://docs.convex.dev/production/integrations/log-streams/) which is currently a paid feature. I believe we also eventually want to improve our retention on the free plan (i.e. not clear your logs when we push updates), but for now, a log stream is probably the way to go.
Log Streams | Convex Developer Hub
Configure logging integrations for your Convex deployment
Thanks for the clarification. I agree that it might be worthwhile to include these details in the documentation.