Logs not displaying in Convex dashboard for dev
I'm also seeing lots of messages in the browser console that look like this:
Where
someDir/somePath.js
is a path in the convex
directory of my project.8 Replies
We’re working on fixing this (removing these messages).
@RJ is your main issue that logs aren't displaying? and the console messages are additional information?
Yes that's correct @ballingt!
That's what I'm seeing
I thought the browser console log messages might be related
@RJ got it! The source index missing log messages in the dashboard browser console are totally normal for larger projects, so is likely unrelated. The missing log stream is not expected and we'll investigate this right now
Hi @RJ the logs currently displayed in the dashboard are best effort and only stored in memory on your backend. We upgraded your instance this morning which led to the log stream getting cleared.
This is an unfortunate developer experience of course. We're currently working on a persistent log stream feature (almost done!) that can keep a long-term record of logs and also direct them to third party services like DataDog. This will likely be a paid feature but we might add short-term persistent logs to free accounts in the process.
Sorry about the inconvenience.
Sure that makes sense—I didn't have higher expectations in terms of retention than what you describe is the current situation (at least for dev), so it's not a problem, it was just not clear to me that it was working at all. Either way, the persistent log stream feature you describe sounds great (especially for prod).
Thanks!