what are the different types of Appenders?
Answer / Rajan Dhingra
In Apache Log4j, there are several types of Appenders that allow you to control where and how log messages are written. Some common examples include ConsoleAppender (for logging to console), FileAppender (for logging to files), RollingFileAppender (for automatically rolling over log files), and JDBCAppender (for logging into a database).
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain why to use Apache Log4j?
what is package level logging in log4j?
what is layouts in log4j?
what does WARN and TRACE level indicates in log4j?
Inside logger component what are the different log levels?
what are the system properties checked by log4j?
Explain whether a log output format can be customized?
In log4j how can you log into the database?
what are the three principal components of Log4j?
what are the logging methods provided by logger class?
what is the command to write your logging information into a file?
Explain whether log4j is a thread safe?