Package | Description |
---|---|
org.apache.logging.log4j.core.appender.db |
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
|
org.apache.logging.log4j.core.appender.db.jdbc |
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
|
Modifier and Type | Method | Description |
---|---|---|
ColumnMapping |
ColumnMapping.Builder.build() |
Modifier and Type | Method | Description |
---|---|---|
static JdbcDatabaseManager |
JdbcDatabaseManager.getManager(String name,
int bufferSize,
ConnectionSource connectionSource,
String tableName,
ColumnConfig[] columnConfigs,
ColumnMapping[] columnMappings) |
|
static JdbcDatabaseManager |
JdbcDatabaseManager.getManager(String name,
int bufferSize,
Layout<? extends Serializable> layout,
ConnectionSource connectionSource,
String tableName,
ColumnConfig[] columnConfigs,
ColumnMapping[] columnMappings) |
Creates a JDBC manager for use within the
JdbcAppender , or returns a suitable one if it already exists. |
B |
JdbcAppender.Builder.setColumnMappings(ColumnMapping... columnMappings) |
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.