JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Log4j interview questions
Log4j interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which of the following is correct about Logger object?
A. The top-level layer of log4j architecture is the Logger which provides the Logger object.
B. The Logger object is responsible for capturing logging information and they are stored in a namespace hierarchy.
C. Both of the above.
D. None of the above.
Show Correct Answer
Correct Answer is :
Both of the above.
2. Which of the following is correct about Appender object?
A. This is a lower-level layer of log4j architecture which provides Appender objects.
B. The Appender object is responsible for publishing logging information to various preferred destinations such as a database, file, console, UNIX Syslog, etc.
C. Both of the above.
D. None of the above.
Show Correct Answer
Correct Answer is :
Both of the above.
3. Which of the following level designates fine-grained informational events that are most useful to debug an application?
A. DEBUG
B. ERROR
C. FATAL
D. INFO
Show Correct Answer
Correct Answer is :
DEBUG
4. Which of the following level designates informational messages that highlight the progress of the application at coarse-grained level?
A. DEBUG
B. ERROR
C. FATAL
D. INFO
Show Correct Answer
Correct Answer is :
INFO
5. What is the purpose of l character used in the conversionPattern of PatternLayout object?
A. Used to output location information of the caller which generated the logging event.
B. Used to output the line number from where the logging request was issued.
C. Used to output the application supplied message associated with the logging event.
D. Used to output the method name where the logging request was issued.
Show Correct Answer
Correct Answer is :
Used to output location information of the caller which generated the logging event.
Similar Interview Questions
Search for latest jobs
Find Jobs