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/asciidoc/features/logging.adoc
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -125,30 +125,33 @@ The following colors and styles are supported:
125
125
=== File Output
126
126
By default, Spring Boot logs only to the console and does not write log files.
127
127
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`).
128
+
If both properties are set, `logging.file.path` is ignored and only `logging.file.name` is used.
128
129
129
130
The following table shows how the `logging.*` properties can be used together:
130
131
131
132
.Logging properties
132
-
[cols="1,1,1,4"]
133
+
[cols="1,1,4"]
133
134
|===
134
-
| configprop:logging.file.name[] | configprop:logging.file.path[] | Example | Description
0 commit comments