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). |
復習用に保存
この項目をブックマークに追加したり、難しい内容としてマークしたり、復習セットに入れたりできます。
役に立ちましたか? はい いいえ
ユーザー評価で最も役立つ内容:
- 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?