Spring boot logger - explained

Published: 26 August 2018
on channel: tech prudent
331
3

====================================
Contact and feedback:

   / @techprudent4241  
https://github.com/TechPrudent/
techprudent91@gmail.com
https://trello.com/b/8QKy3byG/techpru...
https://techprudent91.blogspot.com/
  / techprudents  
  / techprudent  
  / tech-prudent-37831216b  
https://plus.google.com/u/0/114035390...

====================================

Spring boot logger
==================

Commons logging
java util
log4j2
logback
slf4j

Log format:
Timestamp LogLevel ProcessId --- ThreadName LoggerName(Class) : LogMessage

How to change logging pattern?
All logs are output to console and have color coding. change log pattern

how to add logs to a file?
Output to file: logging.file=logs/app.log

how to enable debug, trace logging?
debug=true, trace=true

how to change logging level for a package?
package: loglevel


Source code: https://github.com/TechPrudent/spring...


On this page of the site you can watch the video online Spring boot logger - explained with a duration of hours minute second in good quality, which was uploaded by the user tech prudent 26 August 2018, share the link with friends and acquaintances, this video has already been watched 331 times on youtube and it was liked by 3 viewers. Enjoy your viewing!