Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
6574feea
Commit
6574feea
authored
Jun 16, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document limitations of logging.pattern.*
Closes gh-5653
parent
ec7d6381
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+3
-3
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+4
-2
No files found.
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
6574feea
...
@@ -1246,15 +1246,15 @@ To help with the customization some other properties are transferred from the Sp
...
@@ -1246,15 +1246,15 @@ To help with the customization some other properties are transferred from the Sp
|`logging.pattern.console`
|`logging.pattern.console`
|`CONSOLE_LOG_PATTERN`
|`CONSOLE_LOG_PATTERN`
|The log pattern to use on the console (stdout). (
Not supported with JDK logger
.)
|The log pattern to use on the console (stdout). (
Only supported with the default logback setup
.)
|`logging.pattern.file`
|`logging.pattern.file`
|`FILE_LOG_PATTERN`
|`FILE_LOG_PATTERN`
|The log pattern to use in a file (if LOG_FILE enabled). (
Not supported with JDK logger
.)
|The log pattern to use in a file (if LOG_FILE enabled). (
Only supported with the default logback setup
.)
|`logging.pattern.level`
|`logging.pattern.level`
|`LOG_LEVEL_PATTERN`
|`LOG_LEVEL_PATTERN`
|The format to use to render the log level (default `%5p`). (
The `logging.pattern.level` form is only supported by Logback
.)
|The format to use to render the log level (default `%5p`). (
Only supported with the default logback setup
.)
|`PID`
|`PID`
|`PID`
|`PID`
...
...
spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
6574feea
...
@@ -52,13 +52,15 @@
...
@@ -52,13 +52,15 @@
"name"
:
"logging.pattern.console"
,
"name"
:
"logging.pattern.console"
,
"type"
:
"java.lang.String"
,
"type"
:
"java.lang.String"
,
"description"
:
"Appender pattern for output to the console. Only supported with the default logback setup."
,
"description"
:
"Appender pattern for output to the console. Only supported with the default logback setup."
,
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
,
"defaultValue"
:
"%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
},
},
{
{
"name"
:
"logging.pattern.file"
,
"name"
:
"logging.pattern.file"
,
"type"
:
"java.lang.String"
,
"type"
:
"java.lang.String"
,
"description"
:
"Appender pattern for output to the file. Only supported with the default logback setup."
,
"description"
:
"Appender pattern for output to the file. Only supported with the default logback setup."
,
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
,
"defaultValue"
:
"%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} ${PID:- } --- [%t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
},
},
{
{
"name"
:
"logging.pattern.level"
,
"name"
:
"logging.pattern.level"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment