Olete.in
Articles
Mock Tests
🧪 Spring Boot MCQ Quiz Hub
Spring Boot - Logging
Choose a topic to test your knowledge and improve your Spring Boot skills
1. Spring Boot’s default configurations provides a support for
Java Util Logging
Log4j2
Logback
All above three
2. Spring Boot Starters, Logback will provide a good support for logging?
Yes
No
3. Spring Boot also provide support for Common Logging, Util Logging, Log4J, and SLF4J
Yes
No
4. Spring Boot provides default log format ?
Yes
No
5. Spring boot Log level shows as
INFO
ERROR
WARN
All above three
6. To start Spring Boot application as debug mode
add debug =true in application.propertie
add debug =false in application.propertie
add start-debug =true in application.propertie
None
7. By default,Spring boot File Log Output
console window
files
both
None
8. By default ,Spring Boot not supported for log output in the file?
true
false
9. By default Spring boot Support Log output at window console only
Yes
No
10. in application.properties ,logging.path = /var/tmp/ .What will be default log out file name ?
spring.log
apllication-name.log
both
None
Submit