• Home
  • What is the purpose of % character used in the conversionPattern of PatternLayout object?
Question 1:
What is the purpose of % character used in the conversionPattern of PatternLayout object?
A. Used to output the NDC (nested diagnostic context) associated with the thread that generated the logging event.
B. Used to print the information stored in the MDC against the key.
C. Used to print a % sign.
D. Used to Left pad with spaces if the category name is less than 20 characters long.

These questions are from this test. Would you like to take a practice test?

Log4J Quiz 3 | Englishfreetest.com