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

No way of setting log level #21

Closed
3 tasks done
Avokadoen opened this issue Dec 30, 2020 · 0 comments · Fixed by #25
Closed
3 tasks done

No way of setting log level #21

Avokadoen opened this issue Dec 30, 2020 · 0 comments · Fixed by #25

Comments

@Avokadoen
Copy link
Contributor

Avokadoen commented Dec 30, 2020

Description

logrus allows changing log level with log.SetLevel(*level*) (see doc).

gowarc should expose this feature through the config file and command argument in root to allow users to change it for each session.

Changes

  • Create new config file variable for log level with a sane default
  • Explain new variable in the readme
  • New config variable in root to overwrite config file variable i.e -log-level=warn
Avokadoen added a commit to Avokadoen/gowarc that referenced this issue Jan 6, 2021
Avokadoen added a commit to Avokadoen/gowarc that referenced this issue Jan 6, 2021
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 a pull request may close this issue.

1 participant