LOG4J Questions and Answers

Explain what are the system properties checked by log4j?

The system properties checked by log4j are

  • Log4j debug, if true, log4j will show internal debugging messages to the console
  • defaultInitOverride, if true, log4j will not execute default initialization
  • configuration, URL for default initialization configuration file
  • configurationClass, Class name for configurator to execute default initialization configuration file
  • ignoreTCL, if true, the thread class loader will be overlooked when loading classes.