Question 1: CORE SPRING BOOT - Purpose of SLF4J
What is the primary purpose of SLF4J in Spring Boot?
Question 2: CORE SPRING BOOT - Logback Integration
Which logging framework is used by default in Spring Boot?
Question 3: CORE SPRING BOOT - Logging Levels
Which of the following is not a standard logging level in SLF4J/Logback?
Question 4: CORE SPRING BOOT - Code Snippet (SLF4J Logging)
What will the following code output if the logging level is set to INFO?
Question 5: CORE SPRING BOOT - Configuring Logging in application.properties
How can you set the logging level for a specific package in Spring Boot using application.properties?
Question 6: CORE SPRING BOOT - Code Snippet (Logging in a Spring Component)
What will happen when this component is executed?
Question 7: CORE SPRING BOOT - Code Snippet (Custom Logback Configuration)
Consider the following logback-spring.xml snippet. What does it do?
Question 8: CORE SPRING BOOT - Logging in YAML
How do you configure logging levels in application.yml?
Question 9: CORE SPRING BOOT - Best Practices for Logging
Which of the following is considered a best practice for logging in Spring Boot?
Question 10: CORE SPRING BOOT - Code Snippet (Parameterized Logging)
What will the following SLF4J code output if userId = 101?