S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How can you enable detailed debug logging in Spring Boot?

  • (A) Set debug=true in application.properties
  • (B) Add @EnableDebugLog annotation
  • (C) Set log.level.debug=true
  • (D) Call enableDebug() in main method
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
Setting debug=true enables detailed logging of Spring Boot auto-configuration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.