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

Posted Date:-2020-12-01 02:40:57


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

1.Yes

2.No

Posted Date:-2020-12-01 02:42:05


Question:
By default,Spring boot File Log Output 

1.console window

2.files

3.both

4.None

Posted Date:-2020-12-01 02:39:52


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

Posted Date:-2020-12-01 02:46:03


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

1.Yes

2.No

Posted Date:-2020-12-01 02:29:32


Question:
Spring boot Log level shows as 

1.INFO

2.ERROR

3.WARN

4.All above three

Posted Date:-2020-12-01 02:32:53


Question:
Spring Boot provides default log format ?   

1.Yes

2.No

Posted Date:-2020-12-01 02:31:38


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

1.Yes

2.No

Posted Date:-2020-12-01 02:28:16


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

1.Java Util Logging

2.Log4j2

3.Logback

4.All above three

Posted Date:-2020-12-01 02:27:14


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

Posted Date:-2020-12-01 02:36:32


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
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!