File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
spring-boot-docs/src/main/asciidoc
spring-boot/src/main/resources/META-INF Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1246,15 +1246,15 @@ To help with the customization some other properties are transferred from the Sp
1246
1246
1247
1247
|`logging.pattern.console`
1248
1248
|`CONSOLE_LOG_PATTERN`
1249
- |The log pattern to use on the console (stdout). (Not supported with JDK logger .)
1249
+ |The log pattern to use on the console (stdout). (Only supported with the default logback setup .)
1250
1250
1251
1251
|`logging.pattern.file`
1252
1252
|`FILE_LOG_PATTERN`
1253
- |The log pattern to use in a file (if LOG_FILE enabled). (Not supported with JDK logger .)
1253
+ |The log pattern to use in a file (if LOG_FILE enabled). (Only supported with the default logback setup .)
1254
1254
1255
1255
|`logging.pattern.level`
1256
1256
|`LOG_LEVEL_PATTERN`
1257
- |The format to use to render the log level (default `%5p`). (The `logging.pattern.level` form is only supported by Logback .)
1257
+ |The format to use to render the log level (default `%5p`). (Only supported with the default logback setup .)
1258
1258
1259
1259
|`PID`
1260
1260
|`PID`
Original file line number Diff line number Diff line change 52
52
"name" : " logging.pattern.console" ,
53
53
"type" : " java.lang.String" ,
54
54
"description" : " Appender pattern for output to the console. Only supported with the default logback setup." ,
55
- "sourceType" : " org.springframework.boot.logging.LoggingApplicationListener"
55
+ "sourceType" : " org.springframework.boot.logging.LoggingApplicationListener" ,
56
+ "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}"
56
57
},
57
58
{
58
59
"name" : " logging.pattern.file" ,
59
60
"type" : " java.lang.String" ,
60
61
"description" : " Appender pattern for output to the file. Only supported with the default logback setup." ,
61
- "sourceType" : " org.springframework.boot.logging.LoggingApplicationListener"
62
+ "sourceType" : " org.springframework.boot.logging.LoggingApplicationListener" ,
63
+ "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}"
62
64
},
63
65
{
64
66
"name" : " logging.pattern.level" ,
You can’t perform that action at this time.
0 commit comments