Explain what are the system properties checked by log4j?

DWQA QuestionsCategory: QuestionsExplain what are the system properties checked by log4j?
Editor Staff asked 1 month ago

Explain what are the system properties checked by log4j?

1 Answers
Editor Staff answered 1 month ago

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