How log4j file is defined?



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

Post New Answer

More Apache Log4j Interview Questions

How log4j file is defined?

1 Answers  


Explain whether a log output format can be customized?

1 Answers  


what is the role of filter in log4j?

1 Answers  


why do you get multiple copies of the message in log file sometime?

1 Answers  


what are the format characters used in log4j?

1 Answers  


In log4j how can you log into the database?

1 Answers  


what is package level logging in log4j?

1 Answers  


what are the logging methods provided by logger class?

1 Answers  


what does .class mean in log4j context?

1 Answers  


what are the two static methods for obtaining a logger object?

1 Answers  


what are the system properties checked by log4j?

1 Answers  


what is the command to write your logging information into a file?

1 Answers  


Categories