Suppress analytics logging
Unanswered
Gray-tailed Tattler posted this in #help-forum
Gray-tailed TattlerOP
Added VERCEL_WEB_ANALYTICS_DISABLE_LOGS=true to .env but that didn't work.
Added
but that just added more noise.
Any other ways to cleanly suppress these logs?
Added
<Analytics mode="production" />but that just added more noise.
Any other ways to cleanly suppress these logs?
9 Replies
@Gray-tailed Tattler Added VERCEL_WEB_ANALYTICS_DISABLE_LOGS=true to .env but that didn't work.
Added
tsx
<Analytics mode="production" />
but that just added more noise.
Any other ways to cleanly suppress these logs?
Cuban Crocodile
NEXT_PUBLIC_ENABLE_VERCEL_ANALYTICS=false@Gray-tailed Tattler Added VERCEL_WEB_ANALYTICS_DISABLE_LOGS=true to .env but that didn't work.
Added
tsx
<Analytics mode="production" />
but that just added more noise.
Any other ways to cleanly suppress these logs?
Cuban Crocodile
where'd you even come up with that var? its not documented anywhere.
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 differencesame logging