Skip to content
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

Check LOGGING env-var for "true" #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

grav
Copy link
Contributor

@grav grav commented Jan 9, 2025

LOGGING env var should be exlicitly set to "true", in order to log requests.

Currently it just needs to be truethy, which doesn't correspond with the the current default value in the example .env.local file (where it's "false").
Explicit "true" is also how other env-vars are checked, eg

if (process.env.LOG_INVALID_JSON_REQUESTS === "true") {

LOGGING env var should be exlicitly set to "true", in order to log requests. 

Currently it just needs to be truethy, which doesn't correspond with the docs, OR the current default value in the example .env.local file (where it's "false").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant