Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Extensions to logback for smoother integration with cloud environments.

License

Notifications You must be signed in to change notification settings

DNAstack/logback-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logback-extensions

Extensions to logback for smoother integration with cloud environments. Currently, supports transforming default spring-boot logs into a JSON format appropriate for Google's Stackdriver.

Usage

  1. Add maven dependency for this package to your app:
<dependency>
  <groupId>com.dnastack</groupId>
  <artifactId>logback-extensions</artifactId>
  <version>0.1</version>
</dependency>
<dependency>
      <groupId>ch.qos.logback.contrib</groupId>
      <artifactId>logback-jackson</artifactId>
      <version>0.1.5</version>
</dependency>
  1. Configure logback: /examples/logback-spring.xml is a copy-pastable configurations.
  • If you are using the above example configuration, enable the gcp Spring profile to enable JSON logging.

About

Extensions to logback for smoother integration with cloud environments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages