Next.js Discord

Discord Forum

Suppress analytics logging

Unanswered
Gray-tailed Tattler posted this in #help-forum
Open in Discord
Gray-tailed TattlerOP
Added VERCEL_WEB_ANALYTICS_DISABLE_LOGS=true to .env but that didn't work.

Added

  <Analytics mode="production" />

but that just added more noise.

Any other ways to cleanly suppress these logs?

9 Replies

Gray-tailed TattlerOP
Ya. It was on some GH issue
@Gray-tailed Tattler Ya. It was on some GH issue
Cuban Crocodile
link?
Gray-tailed TattlerOP
It was a few days ago
Cuban Crocodile
ah , well i mean i searched for that var in the entire documentation, not a instance of it.
Gray-tailed TattlerOP
Explains why it's not working lol
Gray-tailed TattlerOP
I tried this NEXT_PUBLIC_ENABLE_VERCEL_ANALYTICS=false but no difference
same logging