Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 636 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 636 Bytes

logging-demo

A demo spring boot application to log Rest calls and method invocation with additional values like timezone, sessionId, userId, httpMethod, http requests uri, etc...

Features -

  • Add timezone to the logs
  • Add sessionId to the logs
  • Add userId to the logs
  • Add http method to the logs
  • Add http request uri to the logs
  • A Filter to add sessionId, userId, http-method and http-request-uri to all the logs
  • A Filter to log all requests and the response (Request log contents - http method, http request URI,
  • An Aspect to track all method invocations and their return values
  • Add httptrace using spring-actuators