Spring Boot/Spring Boot - Logging Sample Test,Sample questions

Question:
By  default ,Spring Boot not supported for log output in the file?

1.true

2.false


Question:
By default Spring boot Support Log output at window console only 

1.Yes

2.No


Question:
By default,Spring boot File Log Output 

1.console window

2.files

3.both

4.None


Question:
in application.properties ,logging.path = /var/tmp/ .What will be default log out file name ?

1.spring.log

2.apllication-name.log

3.both

4.None


Question:
Spring Boot also provide support for Common Logging, Util Logging, Log4J, and SLF4J

1.Yes

2.No


Question:
Spring boot Log level shows as 

1.INFO

2.ERROR

3.WARN

4.All above three


Question:
Spring Boot provides default log format ?   

1.Yes

2.No


Question:
Spring Boot Starters, Logback will provide a good support for logging?

1.Yes

2.No


Question:
Spring Boot’s default configurations provides a support for

1.Java Util Logging

2.Log4j2

3.Logback

4.All above three


Question:
To start Spring Boot application as debug mode 

1.add debug =true in application.propertie

2.add debug =false in application.propertie

3.add start-debug =true in application.propertie

4.None


More MCQS

  1. Spring Boot Common Test
  2. Spring Boot - Bootstrapping
  3. Spring Boot AOP
  4. Spring Boot - Logging
  5. Spring Boot - Application Properties
  6. Spring Boot - RESTful Web Services
  7. Spring Boot - Exception Handling
  8. Spring Boot - Interceptor
  9. Spring Boot - Servlet Filter
  10. Spring Boot - Tomcat
  11. Spring Boot - File Handling
  12. Spring Boot - Service Components
  13. Spring Boot - Thymeleaf
  14. Spring Boot - CORS
  15. Spring Boot - Internationalization
  16. Spring Boot - Scheduling
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!