Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

AccessLog purge strategy for spring boot applications
https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog

access-logs spring-boot tomcat undertow

Last synced: about 1 month ago
JSON representation

AccessLog purge strategy for spring boot applications

Awesome Lists containing this project

README

        

Purgeable AccessLog for Spring Boot applications [![Build Status](https://travis-ci.org/marcosbarbero/spring-boot-starter-purge-accesslog.svg?branch=master)](https://travis-ci.org/marcosbarbero/spring-boot-starter-purge-accesslog) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.marcosbarbero.boot/spring-boot-starter-purge-accesslog/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.marcosbarbero.boot/spring-boot-starter-purge-accesslog) [![Coverage Status](https://coveralls.io/repos/github/marcosbarbero/spring-boot-starter-purge-accesslog/badge.svg?branch=master)](https://coveralls.io/github/marcosbarbero/spring-boot-starter-purge-accesslog?branch=master)
---
Module to enable purge on access log files for spring-boot based applications.

Adding Project Lombok Agent
---

This project uses [Project Lombok](http://projectlombok.org/features/index.html)
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
```xml

com.marcosbarbero.boot
spring-boot-starter-purge-accesslog
2.0.0.RELEASE

```

Sample configuration

```yaml
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:

* [marcosbarbero](https://github.com/marcosbarbero)
* [matheusgg](https://github.com/matheusgg)

### Code of Conduct

This project adheres to the Contributor Covenant [code of conduct](https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog/blob/master/docs/code-of-conduct.adoc).
By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

Footnote
---
Any doubt open an [issue](https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog/issues).
Any fix send me a [Pull Request](https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog/pulls).