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

Replace Logrus with Zap and adjust ENV=local output format #57

Open
ryanrolds opened this issue Jun 13, 2020 · 0 comments
Open

Replace Logrus with Zap and adjust ENV=local output format #57

ryanrolds opened this issue Jun 13, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ryanrolds
Copy link
Owner

ryanrolds commented Jun 13, 2020

Logrus has recently been put into maintenance mode. Replace Logrus with Zap. When the ENV env var is local, output more human-readable (non-JSON) logs to STDOUT. When non-local, output JSON.

If possible, colorize the more human-readable output (ConsoleEncoder). Also try to include function, filename, and line number in the output (currently being outputted with Logrus).

@ryanrolds ryanrolds added the good first issue Good for newcomers label Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant