This is a HTTP logging with Spring Boot
- add maven dependency
<dependency>
<groupId>io.github.gilbertoowen</groupId>
<artifactId>request-logging-spring-boot-starter</artifactId>
<version>1.3.RELEASE</version>
</dependency>
- add config
request.logging.enabled: true
name | type | desc |
---|---|---|
request.logging.whiteList | list | url do log, support ant path style patterns |
request.logging.blackList | list | url do not log, support ant path style patterns |
request.logging.logHeaders | boolean | log header or not, default false |