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 - Logging
  4. Spring Boot - Application Properties
  5. Spring Boot - RESTful Web Services
  6. Spring Boot - Exception Handling
  7. Spring Boot - Interceptor
  8. Spring Boot - File Handling
  9. Spring Boot - CORS
  10. Spring Boot - Internationalization
  11. Spring Boot - Scheduling
  12. Spring MCQs
  13. SPRING BOOT MCQ QUESTIONS
  14. Spring MVC MCQ QUESTIONS AND ANSWER
  15. Spring Cloud MCQ QUESTIONS AND ANSWER
  16. Spring WebFlux MCQ OUESTIONS AND ANSWER
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite 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!