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.
|
org.apache.logging.log4j.core.appender.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabaseAppender<T extends AbstractDatabaseManager>
An abstract Appender for writing events to a database of some type, be it relational or NoSQL.
|
Modifier and Type | Method and Description |
---|---|
protected static <M extends AbstractDatabaseManager,T extends AbstractDatabaseManager.AbstractFactoryData> |
AbstractDatabaseManager.getManager(String name,
T data,
ManagerFactory<M,T> factory)
Implementations should define their own getManager method and call this method from that to create or get
existing managers.
|
Modifier and Type | Class and Description |
---|---|
class |
JdbcDatabaseManager
An
AbstractDatabaseManager implementation for relational databases accessed via JDBC. |
Modifier and Type | Class and Description |
---|---|
class |
JpaDatabaseManager
An
AbstractDatabaseManager implementation for relational databases accessed via JPA. |
Copyright © 1999-2021 Apache Software Foundation. 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.