Introduce configurable logging.pattern.dateformat

Add configurable logger dateformat support for Logback and Log4j2.

Closes gh-8516
This commit is contained in:
Henrik
2017-11-02 21:06:30 -07:00
committed by Phillip Webb
parent d50fe8874f
commit 7728f8fde6
9 changed files with 46 additions and 13 deletions

View File

@@ -48,6 +48,7 @@ content into your application; rather pick only the properties that you need.
logging.pattern.console= # Appender pattern for output to the console. Only supported with the default logback setup.
logging.pattern.file= # Appender pattern for output to the file. Only supported with the default logback setup.
logging.pattern.level= # Appender pattern for log level (default %5p). Only supported with the default logback setup.
logging.pattern.dateformat= # Appender pattern for log dateformat (default yyyy-MM-dd HH:mm:ss.SSS). Only supported with the default logback setup.
logging.register-shutdown-hook=false # Register a shutdown hook for the logging system when it is initialized.
# AOP