MadeStone
How to do logging in Java using Log4j
Описание
Hello everyone, in this video I explain the main concepts of logging and its levels and show how to add Log4j2 logging to a Java project by adding dependencies to pom.xml and adding a configuration using two ways: log4j2.xml and log4j.properties. I then demonstrate how to have log messages in a log file and the console.
#logging #log4j #java #loggers #appenders