by Pradeep Mishra 2 August 16, 2020 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 Share this: Share on LinkedIn (Opens in new window) LinkedIn Share on Facebook (Opens in new window) Facebook Share on X (Opens in new window) X Share on WhatsApp (Opens in new window) WhatsApp Share on Pinterest (Opens in new window) Pinterest More Share on Telegram (Opens in new window) Telegram Email a link to a friend (Opens in new window) Email Share on Reddit (Opens in new window) Reddit Like this:Like Loading… Continue Reading
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
Share this:
Like this:
Continue Reading