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