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

🐛 BUG: wrangler dev doesn't respect WRANGLER_LOG=debug #7525

Closed
emily-shen opened this issue Dec 11, 2024 · 0 comments · Fixed by #8061
Closed

🐛 BUG: wrangler dev doesn't respect WRANGLER_LOG=debug #7525

emily-shen opened this issue Dec 11, 2024 · 0 comments · Fixed by #8061
Assignees
Labels
bug Something that isn't working

Comments

@emily-shen
Copy link
Contributor

Which Cloudflare product(s) does this pertain to?

Wrangler

What version(s) of the tool(s) are you using?

n/a

What version of Node are you using?

No response

What operating system and version are you using?

mac

Describe the Bug

running WRANGLER_LOG=debug npx wrangler dev does not show the same logs as npx wrangler dev --log-level=debug

this is because the log-level arg has a default, which overrides the env variable.

This can be fixed by removing the default from yargs options but then that breaks tests that use runWranglerUntilConfig for some reason.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

@emily-shen emily-shen added the bug Something that isn't working label Dec 11, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Dec 11, 2024
@emily-shen emily-shen self-assigned this Dec 11, 2024
@emily-shen emily-shen moved this from Untriaged to Backlog in workers-sdk Dec 11, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in workers-sdk Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant