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

Add ability to change log level #1023

Merged
merged 1 commit into from Dec 28, 2022
Merged

Conversation

RachitSharma2001
Copy link
Contributor

Addresses #932

Adds the -log-level flag. From my analysis, it seems like there really are only three kinds of logs made by the gcs server:

  1. Info logs: Http request logs and some other information logs made by main.go
  2. Warning logs
  3. Error logs

Nonetheless, the user can specify, with a string, one of the 7 accepted levels from the logrus package: fatal, panic, error, warning, info, debug, or trace, and the appropriate log level will be set.

Copy link
Owner

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

@fsouza fsouza merged commit 23a976c into fsouza:main Dec 28, 2022
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.

None yet

2 participants