What should you log ?
  • Timestamp or log entry.
  • Timing data for your request.
  • Request endpoint data, such as paths: “/users” or verbs: GET, POST.
  • IP of the requesting party.
  • Correlation ID (if you’re building a distributed system).
How should you log ?How to structure log code ?How to access logging middleware ?How to centralize logs for visualization, searching and troubleshooting ?

Related posts

Share your link