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

-q does not suppress all debug logs #1255

Open
Jake-Convictional opened this issue Jul 6, 2022 · 0 comments
Open

-q does not suppress all debug logs #1255

Jake-Convictional opened this issue Jul 6, 2022 · 0 comments

Comments

@Jake-Convictional
Copy link
Contributor

Describe the bug
There is a flag -q to suppress debug logs. However certain debug logs are still produced while using -q.
For example, the following log is always produced:

Generate swagger docs....

To Reproduce
Steps to reproduce the behavior:

  1. Run swag init in a compatible project
  2. Observe the output
  3. Run swag init -q
  4. Observe there are still some logs produced

Expected behavior
When swag init -q is run, there should be no output except for errors.

Screenshots
image

Your swag version
1.8.3

Your go version
go1.18.1 windows/amd64

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: N/A
  • Version: N/A

Additional context
See PR: #1254

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

No branches or pull requests

1 participant