Spring Boot Starter Request Logging - Autoconfigurer

Spring Boot starter for the poor mans request logging lib.

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Auto Библиотеки уровня приложения Code Generators config Configuration Logging
Группа

Группа

de.codeboje
Идентификатор

Идентификатор

request-logging-spring-boot-autoconfigure
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Boot Starter Request Logging - Autoconfigurer
Spring Boot starter for the poor mans request logging lib.
Организация-разработчик

Организация-разработчик

codeboje.de

Скачать request-logging-spring-boot-autoconfigure

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/de.codeboje/request-logging-spring-boot-autoconfigure/ -->
<dependency>
    <groupId>de.codeboje</groupId>
    <artifactId>request-logging-spring-boot-autoconfigure</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/de.codeboje/request-logging-spring-boot-autoconfigure/
implementation 'de.codeboje:request-logging-spring-boot-autoconfigure:0.0.1'
// https://jarcasting.com/artifacts/de.codeboje/request-logging-spring-boot-autoconfigure/
implementation ("de.codeboje:request-logging-spring-boot-autoconfigure:0.0.1")
'de.codeboje:request-logging-spring-boot-autoconfigure:jar:0.0.1'
<dependency org="de.codeboje" name="request-logging-spring-boot-autoconfigure" rev="0.0.1">
  <artifact name="request-logging-spring-boot-autoconfigure" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.codeboje', module='request-logging-spring-boot-autoconfigure', version='0.0.1')
)
libraryDependencies += "de.codeboje" % "request-logging-spring-boot-autoconfigure" % "0.0.1"
[de.codeboje/request-logging-spring-boot-autoconfigure "0.0.1"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot jar 1.5.4.RELEASE
org.springframework.boot : spring-boot-autoconfigure jar 1.5.4.RELEASE
org.springframework.boot : spring-boot-configuration-processor Необязательный jar 1.5.4.RELEASE
de.codeboje : request-logging Необязательный jar 0.0.1

test (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-web jar 1.5.4.RELEASE
org.springframework.boot : spring-boot-starter-test jar 1.5.4.RELEASE

Модули Проекта

Данный проект не имеет модулей.

A Spring Boot Starter for the request logging lib

This is a Spring Boot starter for the request-logging lib. It helps to follow reuqests along a microservices infrastructure; think Zipkin for the poor man - simple, with no overhead of running additional systems.

Dependency

<dependency>
  <groupId>de.codeboje</groupId>
  <artifactId>request-logging-spring-boot-starter</artifactId>
  <version>0.0.1</version>
</dependency>

Now add requestId as a user variable to your logback log pattern like:

%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %X{requestId} - %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}

Extends the default Spring boot 2 log pattern.

Send the header X-REQUEST-ID with a unique ID when a user triggers an event like clicking the order button. This ID will now be passed along as long as the RequestContextLoggingFilter is active and you use Springs RestTemplate for subrequests.

Версии библиотеки

Версия
0.0.1