Log4J Quiz 2 | Englishfreetest.com

  • Do test 20 minutes
  • Number Questions: 10 questions
  • By: englishfreetest.com

Here's the exercise 'Log4J Quiz 2 | Englishfreetest.com' about Technical Quiz - Technical Tests.


Put your knowledge about all things technology to the test Because everything tech, from computers and the internet to software and big data, changes rapidly on a day-to-day basis, it’s now a must to stay up to date with the technology that dominates our modern day lives. Are you up to speed on what’s going on in the tech industry today? Take our quiz to find out. Test how much you know about technology

You can find more to the lesson and more exercises. Technical Quiz - Technical Tests in here.

Finally, click here to "Test" for start practice exercise .

  • Test content
    A. It is designed to handle Java Exceptions from the start
    B. It uses multiple levels, namely ALL, TRACE, DEBUG, INFO, WARN, ERROR and FATAL
    C. The format of the log output can be easily changed by extending the Layout class.
    D. All of the above
    A. The log4j.properties file is a log4j configuration file which keeps properties in key-value pairs
    B. By default, the LogManager looks for a file named log4j.properties in the CLASSPATH.
    C. Both of the above.
    D. None of the above.
    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.
    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 % sighn
    D. Used to Left pad with spaces if the category name is less than 20 characters long.
    A. logging information to be appended to the end of the same file.
    B. to set the buffered writing.
    C. to set the buffer size
    D. None of the above.
    A. The Filter objects can analyze logging information beyond level matching and decide whether logging requests should be handled by a particular Appender or ignored.
    B. The filter may be a console, a file, or another item depending on the appender.
    C. The filter is required to control the filtration of the log messages.
    D. Appender can have a filter associated with it independent of the logger level.
    A. output stream to the file being flushed with each append operation.
    B. to set the platform-specific encoding scheme.
    C. to set the threshold level for this appender.
    D. to set the name of thr log file