Skip to content

Instantly share code, notes, and snippets.

@deekoder
Created October 31, 2017 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deekoder/7747bd1541a9f314e342dda55ed448db to your computer and use it in GitHub Desktop.
Save deekoder/7747bd1541a9f314e342dda55ed448db to your computer and use it in GitHub Desktop.
Things to do wrt to error messages pod.
- json flag in CLI to get json output
- Remove file in config.json and upgrade version (migration code)
- Log messages : remove logrus dependencyl
- 2 separate structs for logging and startup
- Levels of logging:
- Error
- Fatal
- Debug
- Research json grouping of similar messages (50 times ): <same error message>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment