Package | Description |
---|---|
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 and Description |
---|---|
static ColumnConfig.Builder |
ColumnConfig.newBuilder() |
ColumnConfig.Builder |
ColumnConfig.Builder.setClob(boolean clob)
If
"true" , indicates that the column is a character LOB (CLOB). |
ColumnConfig.Builder |
ColumnConfig.Builder.setConfiguration(Configuration configuration)
The configuration object.
|
ColumnConfig.Builder |
ColumnConfig.Builder.setEventTimestamp(boolean eventTimestamp)
If
"true" , indicates that this column is a date-time column in which the event timestamp should be
inserted. |
ColumnConfig.Builder |
ColumnConfig.Builder.setLiteral(String literal)
The literal value to insert into the column as-is without any quoting or escaping.
|
ColumnConfig.Builder |
ColumnConfig.Builder.setName(String name)
The name of the database column as it exists within the database table.
|
ColumnConfig.Builder |
ColumnConfig.Builder.setPattern(String pattern)
The
PatternLayout pattern to insert in this column. |
ColumnConfig.Builder |
ColumnConfig.Builder.setUnicode(boolean unicode)
If
"true" , indicates that the column is a Unicode String. |
Copyright © 1999-2017. 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.