Micronaut logging support
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... 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