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
Original file line number
Diff line number
Diff line change
@@ -131,30 +131,33 @@ The following colors and styles are supported:
131
131
132
132
By default, Spring Boot logs only to the console and does not write log files.
133
133
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`).
134
+
If both properties are set, `logging.file.path` is ignored and only `logging.file.name` is used.
134
135
135
136
The following table shows how the `logging.*` properties can be used together:
136
137
137
138
.Logging properties
138
-
[cols="1,1,1,4"]
139
+
[cols="1,1,4"]
139
140
|===
140
-
| configprop:logging.file.name[] | configprop:logging.file.path[] | Example | Description
0 commit comments