{"repo":"piomin/spring-boot-logging","free":true,"listed":false,"github":"https://github.com/piomin/spring-boot-logging","clone":"git clone https://github.com/piomin/spring-boot-logging.git","description":"A library for logging HTTP request/response for Spring Boot application and integration with Elastic Stack","language":"Java","stars":276,"topics":["spring-boot","logging-library","logback","logstash","elasticstack","resttemplate","openfeign","spring-rest","reactor","spring-webf"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Logging with Spring Boot and Elastic Stack Main purpose This library is created for logging incoming HTTP requests and outgoing HTTP responses and send these logs automatically to Logstash. Articles Detailed description can be found here: 1. Logging with Spring Boot and Elastic Stack 2. Using logstash-logging-spring-boot-starter for logging with Spring Boot and Logstash Features In short, let’s begin from a brief review of main features provided by logstash-logging-spring-boot-starter: 1. It is able to log all incoming HTTP requests and outgoing HTTP responses with full body, and send those logs to Logstash with the proper tags 2. It is able to calculate and store an execution time for each request 3. It generates and propagates correlationId for downstream services calling with Spring RestTemplate or OpenFeign 4. It is auto-configurable Spring Boot library – you don’t have to do anything more than including it as a dependency to your application to make it work Getting started The current version of library is 2.2.1 .\\ For logging with Spring WebMvc and Logstash: For logging with Spring WebMvc and Loki: For logging with Spring WebFlux: By default, the library is enabled, but tries to locate Logback configuration inside your application to settings for Logstash appender. If such appender won’t be found, the library uses Spring Boot default logging configuration, which does not include Logstash appender. To force it use auto-configured appender definition inside library we hav","default_branch":null,"files":null,"tree":[],"storefront":"/r/piomin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piomin/spring-boot-logging/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}