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

Enable debug logging via CLI flag #5543

Closed
zoeyTM opened this issue Jul 23, 2024 · 1 comment · Fixed by #6033
Closed

Enable debug logging via CLI flag #5543

zoeyTM opened this issue Jul 23, 2024 · 1 comment · Fixed by #6033
Assignees
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Milestone

Comments

@zoeyTM
Copy link
Contributor

zoeyTM commented Jul 23, 2024

This is a carryover task from #5363 - we want to replicate the Hardhat v2 functionality of enabling debug logging via a CLI flag, but we're unsure at this time exactly what flag that should be. In theory, --verbose could work, but there are worries about potentially clashing with other tools.

@zoeyTM zoeyTM added this to Hardhat Jul 23, 2024
@zoeyTM zoeyTM moved this to To-do in Hardhat Jul 23, 2024
@schaable schaable removed their assignment Jul 25, 2024
@kanej kanej added status:ready This issue is ready to be worked on v-next A Hardhat v3 development task and removed status:triaging labels Jul 25, 2024
@kanej kanej added this to the vnext milestone Jul 29, 2024
@kanej kanej modified the milestones: vnext, Public Alpha Dec 5, 2024
@kanej
Copy link
Member

kanej commented Dec 9, 2024

Lets go with --verbose as a first pass so that we are only changing a parameter name as part of product polishing.

I think the task here is:

  • ENV variable should set config that means we do verbose logging
  • optional cli parameter on each of the core tasks should also set that config

Basically, I think we try and avoid setting ENV variables. Though we should check how v2 is doing this.

@ChristopherDedominici ChristopherDedominici moved this from To-do to In Progress in Hardhat Dec 9, 2024
@ChristopherDedominici ChristopherDedominici linked a pull request Dec 9, 2024 that will close this issue
@ChristopherDedominici ChristopherDedominici moved this from In Progress to In Review in Hardhat Dec 10, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Hardhat Dec 10, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants