You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It logs ✓ Prefixed environment variable 'API_BASE_URL' (next-runtime-env) on every server start. Both in local development mode and on production environments this creates a lot of (duplicate) noise in the logs. An option to disable this would be a nice and simple addition:
makeEnvPublic(['API_BASE_URL',],{loglevel: 'silent'// Other options could 'warn', 'info'})
The text was updated successfully, but these errors were encountered:
I cloned the repo but didn't find the code for it. Anyway, maybe you should try conditional logging. Instead of completely disabling the log, you can get env variables to conditionally log only during development.
When using
makeEnvPublic
innext.config.js
:It logs
✓ Prefixed environment variable 'API_BASE_URL' (next-runtime-env)
on every server start. Both in local development mode and on production environments this creates a lot of (duplicate) noise in the logs. An option to disable this would be a nice and simple addition:The text was updated successfully, but these errors were encountered: