Spring Boot Configure Logging to File in Spring Boot in just one line Just add the below line in application.properties of your spring boot application and done. :) logging.file = /path/logFileName.log Pradeep MishraAugust 9, 20202 Comments