-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] logs are not showing up sometimes for Vercel edge function (pages router) #175
Comments
Hey hey, is this on a production environment? |
for the preview environment but I have enabled the AXIOM env variable for all environments in case that's what you were wondering. Also, I tried adding |
Hi, any update on this? |
same issue. when i do it locally no issues. When i deploy, this is happening on cloudflare pages. did you ever resolve? |
does the same thing happen when you use the logger directly, without creating a child-logger using |
I dug into this and was able to get logging working fine with @cloudflare/next-on-pages. What didn't work fine, which is what made me think there was an issue in the first place, is that |
@levi how? |
Sometimes logs do not show up and I'd like to know if this is a known bug or if am I doing something wrong. I'm on pages router and followed this guide: https://github.com/axiomhq/next-axiom/blob/v0.x/README.md
other event logs are always shown, it's the
console.info
logs that are missing.The text was updated successfully, but these errors were encountered: