SLF4J
Learn SLF4J (Logging & Monitoring, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes SLF4J (Simple Logging Facade for Java) is a common logging API; your code logs through it and a backend such as Logback does the real work. Usage : private static final Logger log = LoggerFactory.getLogger(MyClass.class); , or the Lombok annotation @Slf4j . Levels from low to high: TRACE , DEBUG , INFO , WARN , ERROR ; Spring Boot logs at INFO by default.