GitHub

Outputs console logging as JSON for easier ELK integration.

Useful in clustered environments e.g. Kubernetes, where fluentd or similar reads containers stdout for logs.

<repository>
  <snapshots>
    <enabled>false</enabled>
  </snapshots>
  <id>bintray-flurdy-maven</id>
  <name>bintray</name>
  <url>https://dl.bintray.com/flurdy/maven</url>
</repository>
<dependency>
  <groupId>com.flurdy</groupId>
  <artifactId>spring-boot-logging-json</artifactId>
  <version>1.0</version>
</dependency>
repositories {
    maven {
        url "https://dl.bintray.com/flurdy/maven"
    }
}
dependencies {
    compile 'com.flurdy:spring-boot-logging-json:1.0'
}

Read the original on github.com ↗