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

Don't zero out default log package flags. #634

Closed
rdwilliamson opened this issue Jun 5, 2016 · 2 comments
Closed

Don't zero out default log package flags. #634

rdwilliamson opened this issue Jun 5, 2016 · 2 comments

Comments

@rdwilliamson
Copy link

I imported a package (github.com/mkevac/debugcharts) that has dependencies on gin. Suddenly all my log messages were missing the time stamps and I tracked it down to the init function in debug.go

@aronatkins
Copy link

Also encountered this issue with to gin calling log.SetFlags. Working around by explicitly restoring the standard logging flags in my application main.

log.SetFlags(log.LstdFlags)

@thinkerou
Copy link
Member

please see #1560 and close.

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

3 participants