@@ -727,27 +727,29 @@ As with console output, `ERROR`, `WARN` and `INFO` level messages are logged by
727
727
[[boot-features-custom-log-levels]]
728
728
=== Log Levels
729
729
730
- All the supported logging systems can have the logger levels set in the Spring `Environment`
731
- (so for example in `application.properties`) using "logging.level.*=LEVEL" where "LEVEL" is one of
732
- TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF. Example `application.properties`:
730
+ All the supported logging systems can have the logger levels set in the Spring
731
+ `Environment` (so for example in `application.properties`) using ``logging.level.*=LEVEL''
732
+ where ``LEVEL'' is one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF. Example
733
+ `application.properties`:
733
734
734
735
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
735
736
----
736
- logging.level.org.springframework.web: DEBUG
737
- logging.level.org.hibernate: ERROR
737
+ logging.level.org.springframework.web: DEBUG
738
+ logging.level.org.hibernate: ERROR
738
739
----
739
740
740
741
742
+
741
743
[[boot-features-custom-log-configuration]]
742
744
=== Custom log configuration
743
745
744
746
The various logging systems can be activated by including the appropriate libraries on
745
747
the classpath, and further customized by providing a suitable configuration file in the
746
748
root of the classpath, or in a location specified by the Spring `Environment` property
747
- `logging.config`. (Note however that since logging is initialized *before* the `ApplicationContext
748
- is created, it isn't possible to control logging from `@PropertySources` in Spring
749
- `@Configuration` files. System properties and the conventional Spring Boot external
750
- configuration files work just fine.)
749
+ `logging.config`. (Note however that since logging is initialized *before* the
750
+ `ApplicationContext` is created, it isn't possible to control logging from
751
+ `@PropertySources` in Spring `@ Configuration` files. System properties and the
752
+ conventional Spring Boot external configuration files work just fine.)
751
753
752
754
Depending on your logging system, the following files will be loaded:
753
755
0 commit comments