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 |
how can you get multiple processes to log to the same file?
what are the different types of Appenders?
what does WARN and TRACE level indicates in log4j?
what are the logging methods provided by logger class?
what are the three principal components of Log4j?
what are Appenders in Log4j?
what is the command to write your logging information into a file?
Explain whether log4j is a thread safe?
what are the two static methods for obtaining a logger object?
Explain why to use Apache Log4j?
what is package level logging in log4j?
what are the system properties checked by log4j?