Explain whether a log output format can be customized?
Answer / Ankit Jain
Yes, in Log4j, the log output format can be customized by defining a Layout object and associating it with an Appender. The Layout object determines how log events are formatted before they are passed to the appender.
| Is This Answer Correct ? | 0 Yes | 0 No |
why do you get multiple copies of the message in log file sometime?
what are the other support objects in Log4j?
what is the command to write your logging information into a file?
what is Log4j?
what is the role of filter in log4j?
How log4j file is defined?
what is package level logging in log4j?
what are the system properties checked by log4j?
Explain whether a log output format can be customized?
what is the best way to migrate from java.util logging to log4j?
In log4j how can you log into the database?
what does .class mean in log4j context?