Micronaut logging support
Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/apache/maven-source-plugin/releases) - [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.2.0...maven-source-plugin-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-source-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
docs | ||
src | ||
.markdownlint.yaml | ||
.yamllint | ||
LICENSE | ||
pom.xml | ||
README.md |
Micronaut Logging support
Include in your pom.xml
:
<dependency>
<groupId>io.kokuwa.micronaut</groupId>
<artifactId>micronaut-logging</artifactId>
<version>${version.io.kokuwa.micronaut.logging}</version>
<scope>runtime</scope>
</dependency>
Features
- set log level based on MDC values
- add default xml
- preconfigured appender for different environments
- set log level based on HTTP request header
- add HTTP path parts to MDC
- add HTTP header to MDC
- add authentication information from HTTP request to MDC
Development
Open Topics
- configure mdc on refresh event
- read serviceName and serviceVersion from yaml
- support auto select appender with custom
logback.xml
- add maven site with jacoco / dependency updates for snapshot build