0 votes
in Spring Boot by (5k points)
Can you control logging with Spring Boot? How?

1 Answer

0 votes
by (5k points)

Yes, we can control logging with Spring Boot.  We can specify the log levels on application.properties file. Spring Boot loads application.properties file when it exists in the classpath and it can be used to configure both Spring Boot and application code.

Spring Boot uses Commons Logging for all internal logging and we can change log levels by adding following in the application.properties file:-


Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.