How log4j file is defined?
Answer / Pradeep Kumar
The Log4j configuration file is typically named 'log4j.properties' or 'log4j2.xml'. It contains the settings for various aspects of logging, such as appenders, layouts, filters, and loggers.
| Is This Answer Correct ? | 0 Yes | 0 No |
why do you get multiple copies of the message in log file sometime?
what is Log4j?
what are the two static methods for obtaining a logger object?
what does WARN and TRACE level indicates in log4j?
what are the other support objects in Log4j?
what is the best way to migrate from java.util logging to log4j?
what are the logging methods provided by logger class?
what is the command to write your logging information into a file?
what are the system properties checked by log4j?
what is layouts in log4j?
what are the different types of Appenders?
Explain whether log4j is a thread safe?