Access Log Purge Starter

Access log purge configuration for Tomcat and Undertow web servers supported by Spring Boot

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы
Группа

Группа

com.marcosbarbero.boot
Идентификатор

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

spring-boot-starter-purge-accesslog
Последняя версия

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

2.0.0.RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

Access Log Purge Starter
Access log purge configuration for Tomcat and Undertow web servers supported by Spring Boot
Ссылка на сайт

Ссылка на сайт

https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog
Система контроля версий

Система контроля версий

https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog

Скачать spring-boot-starter-purge-accesslog

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

<!-- https://jarcasting.com/artifacts/com.marcosbarbero.boot/spring-boot-starter-purge-accesslog/ -->
<dependency>
    <groupId>com.marcosbarbero.boot</groupId>
    <artifactId>spring-boot-starter-purge-accesslog</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.marcosbarbero.boot/spring-boot-starter-purge-accesslog/
implementation 'com.marcosbarbero.boot:spring-boot-starter-purge-accesslog:2.0.0.RELEASE'
// https://jarcasting.com/artifacts/com.marcosbarbero.boot/spring-boot-starter-purge-accesslog/
implementation ("com.marcosbarbero.boot:spring-boot-starter-purge-accesslog:2.0.0.RELEASE")
'com.marcosbarbero.boot:spring-boot-starter-purge-accesslog:jar:2.0.0.RELEASE'
<dependency org="com.marcosbarbero.boot" name="spring-boot-starter-purge-accesslog" rev="2.0.0.RELEASE">
  <artifact name="spring-boot-starter-purge-accesslog" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.marcosbarbero.boot', module='spring-boot-starter-purge-accesslog', version='2.0.0.RELEASE')
)
libraryDependencies += "com.marcosbarbero.boot" % "spring-boot-starter-purge-accesslog" % "2.0.0.RELEASE"
[com.marcosbarbero.boot/spring-boot-starter-purge-accesslog "2.0.0.RELEASE"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-web jar
org.springframework.boot : spring-boot-configuration-processor Необязательный jar

provided (3)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-undertow Необязательный jar
org.springframework.boot : spring-boot-starter-tomcat Необязательный jar
org.projectlombok : lombok jar 1.16.20

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar

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

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

Purgeable AccessLog for Spring Boot applications Build Status Maven Central Coverage Status

Module to enable purge on access log files for spring-boot based applications.

Adding Project Lombok Agent

This project uses Project Lombok to generate getters and setters etc. Compiling from the command line this shouldn't cause any problems, but in an IDE you need to add an agent to the JVM. Full instructions can be found in the Lombok website. The sign that you need to do this is a lot of compiler errors to do with missing methods and fields.

Usage

This project is available on maven central

Add the dependency on pom.xml

<dependency>		
    <groupId>com.marcosbarbero.boot</groupId>		
    <artifactId>spring-boot-starter-purge-accesslog</artifactId>		
    <version>2.0.0.RELEASE</version>		
</dependency>		

Sample configuration

server:
  accesslog.purge:
    enabled: true #default false
    execute-on-startup: true #default false
    execution-interval: 10 #default 24
    execution-interval-unit: SECONDS #default HOURS
    max-history: 1 #default 30
    max-history-unit: MINUTES #default DAYS

Contributing

Spring Boot Purge AccessLog is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial please do not hesitate, but follow the guidelines below.

Maintainers

The current maintainers (people who can merge pull requests) are:

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to marcos.hgb@gmail.com.

Footnote

Any doubt open an issue.
Any fix send me a Pull Request.

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

Версия
2.0.0.RELEASE
1.0.2.RELEASE
1.0.1.RELEASE
1.0.0.RELEASE