Skip to content

lukashinsch/spring-boot-extended-logging-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Status Build Status Maven Central

spring-boot-extended-logging-properties

Makes properties from spring environment configuration available in logging configuration

Howto use

Maven

<dependency>
  <groupId>eu.hinsch</groupId>
  <artifactId>spring-boot-extended-logging-properties</artifactId>
  <version>0.2.0</version>
</dependency>

Gradle

runtime("spring-boot-extended-logging-properties:0.2.0")

Configuration

In application.properties

logging.properties.some.key=Some Value

In logback.xml

${some.key}

Notes

  • Starting with release 1.3 (>=M2) spring boot supports access to any environment property in logback configuration out of the box (for details see the official documentation)

About

Provide access to spring environment properties in logging configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages