|
|||||||||
| Home >> All >> org >> apache >> log4j >> [ jdbc overview ] | PREV NEXT | ||||||||
A
- append(LoggingEvent) - Method in class org.apache.log4j.jdbc.JDBCAppender
- Adds the event to the buffer.
B
- buffer - Variable in class org.apache.log4j.jdbc.JDBCAppender
- ArrayList holding the buffer of Logging Events.
- bufferSize - Variable in class org.apache.log4j.jdbc.JDBCAppender
- size of LoggingEvent buffer before writting to the database.
C
- close() - Method in class org.apache.log4j.jdbc.JDBCAppender
- Closes the appender, flushing the buffer first then closing the default connection if it is open.
- closeConnection(Connection) - Method in class org.apache.log4j.jdbc.JDBCAppender
- Override this to return the connection to a pool, or to clean up the resource.
- connection - Variable in class org.apache.log4j.jdbc.JDBCAppender
- Connection used by default.
D
- databasePassword - Variable in class org.apache.log4j.jdbc.JDBCAppender
- User to use for default connection handling
- databaseURL - Variable in class org.apache.log4j.jdbc.JDBCAppender
- URL of the DB for default connection handling
- databaseUser - Variable in class org.apache.log4j.jdbc.JDBCAppender
- User to connect as for default connection handling
E
- execute(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- Override this to provide an alertnate method of getting connections (such as caching).
F
- finalize() - Method in class org.apache.log4j.jdbc.JDBCAppender
- closes the appender before disposal
- flushBuffer() - Method in class org.apache.log4j.jdbc.JDBCAppender
- loops through the buffer of LoggingEvents, gets a sql string from getLogStatement() and sends it to execute().
G
- getBufferSize() - Method in class org.apache.log4j.jdbc.JDBCAppender
- getConnection() - Method in class org.apache.log4j.jdbc.JDBCAppender
- Override this to link with your connection pooling system.
- getLogStatement(LoggingEvent) - Method in class org.apache.log4j.jdbc.JDBCAppender
- By default getLogStatement sends the event to the required Layout object.
- getPassword() - Method in class org.apache.log4j.jdbc.JDBCAppender
- getSql() - Method in class org.apache.log4j.jdbc.JDBCAppender
- Returns pre-formated statement eg: insert into LogTable (msg) values ("%m")
- getURL() - Method in class org.apache.log4j.jdbc.JDBCAppender
- getUser() - Method in class org.apache.log4j.jdbc.JDBCAppender
J
- JDBCAppender - class org.apache.log4j.jdbc.JDBCAppender.
- WARNING: This version of JDBCAppender
is very likely to be completely replaced in the future.
- JDBCAppender() - Constructor for class org.apache.log4j.jdbc.JDBCAppender
O
- org.apache.log4j.jdbc - package org.apache.log4j.jdbc
R
- removes - Variable in class org.apache.log4j.jdbc.JDBCAppender
- Helper object for clearing out the buffer
- requiresLayout() - Method in class org.apache.log4j.jdbc.JDBCAppender
- JDBCAppender requires a layout.
S
- setBufferSize(int) - Method in class org.apache.log4j.jdbc.JDBCAppender
- setDriver(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- Ensures that the given driver class has been loaded for sql connection creation.
- setPassword(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- setSql(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- setURL(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- setUser(String) - Method in class org.apache.log4j.jdbc.JDBCAppender
- sqlStatement - Variable in class org.apache.log4j.jdbc.JDBCAppender
- Stores the string given to the pattern layout for conversion into a SQL statement, eg: insert into LogTable (Thread, Class, Message) values ("%t", "%c", "%m").
A B C D E F G J O R S
|
|||||||||
| Home >> All >> org >> apache >> log4j >> [ jdbc overview ] | PREV NEXT | ||||||||