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 are the different types of Appenders?
what are the system properties checked by log4j?
what is the role of filter in log4j?
what are the format characters used in log4j?
what are the other support objects in Log4j?
how can you get multiple processes to log to the same file?
what is the best way to migrate from java.util logging to log4j?
what are the logging methods provided by logger class?
what is package level logging in log4j?
what is the command to write your logging information into a file?
what are the two static methods for obtaining a logger object?