Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Log4j%20Interview%20Questions%20and%20Answers

Question: What are different appenders that can configure in log4j?
Answer: There are different appenders that we can configure in log4j are: CONSOLE, FILES, DATABASE, JMS, EVENT LOGGING.

Mainly used appenders:
CONSOLE in log4j:- If we use this as appenders in your application, log4j logs the information in the console or command prompt window that is started with startup script.
Files in log4j:- Files Appender is used to log the information into our custom name files. when we are configuring this appender, we can specify the file name.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook