Skip to content

Instantly share code, notes, and snippets.

@yuhunglin
Created September 25, 2015 23:13
Show Gist options
  • Save yuhunglin/96856ada2d3353fb5efd to your computer and use it in GitHub Desktop.
Save yuhunglin/96856ada2d3353fb5efd to your computer and use it in GitHub Desktop.
Log all the things
- What do we want to do?
- Everytime an API endpoint was involved,
- metrics middleware to audit elements
- Uncaught exceptions (should go to logger instead blowing up)
- Timestamps on all entries
- Start pushing in a requestID for all fermina request
- Logging units of work
- Offload lifecycle management to 3rd party services
- JSON format
- Explore to see if there's an easy way to log all the API calls automatically
- Milestones (must haves)
- End user data:
- Action (request level logging)
- Different from user analytics
- Defining generic approach to logging?
- FE debugging
- developer tooling?
- Logging lifecycle management
- rotation
- archiving
- centralized logging
- Case: Why is all the responses 404s
- intentional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment