You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/logging.adoc
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,30 +134,33 @@ The following colors and styles are supported:
134
134
135
135
By default, Spring Boot logs only to the console and does not write log files.
136
136
If you want to write log files in addition to the console output, you need to set a configprop:logging.file.name[] or configprop:logging.file.path[] property (for example, in your `application.properties`).
137
+
If both properties are set, `logging.file.path` is ignored and only `logging.file.name` is used.
137
138
138
139
The following table shows how the `logging.*` properties can be used together:
139
140
140
141
.Logging properties
141
-
[cols="1,1,1,4"]
142
+
[cols="1,1,4"]
142
143
|===
143
-
| configprop:logging.file.name[] | configprop:logging.file.path[] | Example | Description
0 commit comments