In log4j how can you log into the database?
Answer / Vivek Sachan
You can use the JDBCAppender to log messages directly into a database. To do this, you'll need to specify a JDBC driver class and a connection URL in your appender configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
why do you get multiple copies of the message in log file sometime?
how can you get multiple processes to log to the same file?
Explain whether a log output format can be customized?
what is package level logging in log4j?
what are the three principal components of Log4j?
Explain why to use Apache Log4j?
In log4j how can you log into the database?
what are Appenders in Log4j?
what are the different types of Appenders?
what are the other support objects in Log4j?
what are the system properties checked by log4j?
How log4j file is defined?