• Register

Share:- Whatsapp Facebook Facebook

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


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

1 Answer

0 votes

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


by (4.4k points)