Question: What is Log4j?Answer: Log4j (Log for Java) is logging framework provided by apache foundation for java based applications.In the applicaitons, if you want to log some information, like any event triggered, or any Database updated is happened, we have the need to log the specific information or error for the useful of the application. To debug any issues in applications, we have to log the error/exceptions in the logs. For this we will use log4j mechanism. Log4j logs the information and shows this information in different targets. The different targets are called appenders (console, file etc). |
Guardar para repaso
Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.
Inicia sesion para guardar marcadores, preguntas dificiles y conjuntos de repaso.
Es util? Si No
Lo mas util segun los usuarios:
- What is Log4j?
- What are the different logging levels?
- Describe about logger levels in log4j.
- What are the three main components in log4j?
- What is the importance of logging applications?