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

feat(template): Set ZAP loglevel via environment var #92

Merged
merged 4 commits into from Apr 30, 2022

Conversation

linuxluigi
Copy link
Collaborator

Set zap log level via environment var LOG_LEVEL. If LOG_LEVEL is debug, zap will be set to development and per default zap is set to production.

Signed-off-by: Steffen Exler Steffen.Exler@mail.schwarz

@danielzwink danielzwink force-pushed the feature/Set-ZAP-loglevel-via-environment-var branch 2 times, most recently from d3b0436 to 0a8da26 Compare March 25, 2022 17:56
_template/cmd/{{.Base.appName}}/main.go Outdated Show resolved Hide resolved
@brumhard brumhard closed this Apr 30, 2022
@brumhard brumhard reopened this Apr 30, 2022
Steffen Exler and others added 3 commits April 30, 2022 16:56
Signed-off-by: Steffen Exler <Steffen.Exler@mail.schwarz>
Co-authored-by: Tobias Brumhard <tobias.brumhard@mail.schwarz>
Signed-off-by: Steffen Exler <Steffen.Exler@mail.schwarz>
@brumhard brumhard force-pushed the feature/Set-ZAP-loglevel-via-environment-var branch from 3adfd91 to ac0c5be Compare April 30, 2022 14:57
Signed-off-by: Tobias Brumhard <tobias.brumhard@mail.schwarz>
@brumhard brumhard merged commit 4e5479c into main Apr 30, 2022
@brumhard brumhard deleted the feature/Set-ZAP-loglevel-via-environment-var branch April 30, 2022 15:04
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