Spring Certified Professional 2023 · Free Practice Question Medium

Question 27

In Spring logging, default configurations are provided for (select 3)

  • A

    Java Util Logging

  • B

    Logback

  • C

    SLF4J

  • D

    Log4J

  • E

    Log4J2

Reveal correct answers

Correct answers: A, B, E

Explanation

26. Logging

Spring Boot uses Commons Logging for all internal logging but leaves the underlying log implementation open. Default configurations are provided for Java Util Logging, Log4J2, and Logback. In each case, loggers are pre-configured to use console output with optional file output also available.


https://docs.spring.io/spring-boot/docs/2.1.13.RELEASE/reference/html/boot-features-logging.html

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need