MadeStone

How to do logging in Java using Log4j

Просмотры:
25
Дата загрузки:
04.12.2023 19:31
Длительность:
00:07:15
Категория:
Технологии и интернет

Описание

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

Источники: