Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marcosbarbero/spring-boot-starter-purge-accesslog
- Owner: marcosbarbero
- License: apache-2.0
- Created: 2017-01-23T20:23:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T10:58:13.000Z (over 6 years ago)
- Last Synced: 2024-05-01T15:09:48.291Z (7 months ago)
- Topics: access-logs, spring-boot, tomcat, undertow
- Language: Java
- Size: 80.1 KB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: docs/code-of-conduct.adoc
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).