A C D E F G H I J L M N O P R S T U W X

A

activateOptions() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DBAppender
 
activateOptions() - Method in class org.apache.log4j.db.DBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
activateOptions() - Method in class org.apache.log4j.net.JMSReceiver
Starts the JMSReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.MulticastAppender
Open the multicast sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.net.MulticastReceiver
 
activateOptions() - Method in class org.apache.log4j.net.SocketHubReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.SocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.UDPAppender
Open the UDP sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.net.UDPReceiver
Returns true if this receiver is active.
activateOptions() - Method in class org.apache.log4j.net.XMLSocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read and process the log file.
activateOptions() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Process the file
active - Variable in class org.apache.log4j.net.SocketHubReceiver
Active.
active - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
addAppender(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
Add appender.
AddressBased - Interface in org.apache.log4j.net
Net based entities that 'work with' an Address should consider implementing this interface so that they can be treated generically.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketHubReceiver
Adds a SocketNodeEventListener to this receiver to be notified of SocketNode events.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode13
Adds the listener to the list of listeners to be notified of the respective event.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Adds the listener to the list of listeners to be notified of the respective event.
append(LoggingEvent) - Method in class org.apache.log4j.db.DBAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.MulticastAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.UDPAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.rewrite.RewriteAppender
append(LoggingEvent) - Method in class org.apache.log4j.varia.ListModelAppender

C

cleanUp() - Method in class org.apache.log4j.net.MulticastAppender
Close the Socket and release the underlying connector thread if it has been created
cleanUp() - Method in class org.apache.log4j.net.UDPAppender
Close the UDP Socket and release the underlying connector thread if it has been created
clearModel() - Method in class org.apache.log4j.varia.ListModelAppender
Removes all the Events from the model.
close() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
close() - Method in class org.apache.log4j.db.DBAppender
 
close() - Method in class org.apache.log4j.net.MulticastAppender
Close this appender.
close() - Method in class org.apache.log4j.net.UDPAppender
Close this appender.
close() - Method in class org.apache.log4j.rewrite.RewriteAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.apache.log4j.varia.ListModelAppender
closeConnection(Connection) - Static method in class org.apache.log4j.db.DBHelper
 
closeStatement(Statement) - Static method in class org.apache.log4j.db.DBHelper
 
computeReferenceMask(LoggingEvent) - Static method in class org.apache.log4j.db.DBHelper
 
CONFIG - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
CONFIG.
CONFIG_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for CONFIG.
connection - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
ConnectionSource - Interface in org.apache.log4j.db
The ConnectionSource interface provides a pluggable means of transparently obtaining JDBC Connections for log4j classes that require the use of a Connection.
ConnectionSourceSkeleton - Class in org.apache.log4j.db
 
ConnectionSourceSkeleton() - Constructor for class org.apache.log4j.db.ConnectionSourceSkeleton
 
connector - Variable in class org.apache.log4j.net.SocketHubReceiver
Connector.
createPattern() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
create the regular expression pattern using the input regular expression
CustomSQLDBReceiver - Class in org.apache.log4j.db
Converts log data stored in a database into LoggingEvents.
CustomSQLDBReceiver() - Constructor for class org.apache.log4j.db.CustomSQLDBReceiver
 

D

DataSourceConnectionSource - Class in org.apache.log4j.db
The DataSourceConnectionSource is an implementation of ConnectionSource that obtains the Connection in the recommended JDBC manner based on a DataSource.
DataSourceConnectionSource() - Constructor for class org.apache.log4j.db.DataSourceConnectionSource
 
DBAppender - Class in org.apache.log4j.db
The DBAppender inserts loggin events into three database tables in a format independent of the Java programming language.
DBAppender() - Constructor for class org.apache.log4j.db.DBAppender
 
DBHelper - Class in org.apache.log4j.db
 
DBHelper() - Constructor for class org.apache.log4j.db.DBHelper
 
DBReceiver - Class in org.apache.log4j.db
 
DBReceiver() - Constructor for class org.apache.log4j.db.DBReceiver
 
decode(String) - Method in interface org.apache.log4j.spi.Decoder
Decode event from string.
decode(URL) - Method in interface org.apache.log4j.spi.Decoder
Decode event from document retreived from URL.
decode(URL) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a File into a Vector of LoggingEvents.
decode(String) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decode(URL) - Method in class org.apache.log4j.xml.XMLDecoder
Decodes a File into a Vector of LoggingEvents.
decode(String) - Method in class org.apache.log4j.xml.XMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decodeEvents(String) - Method in interface org.apache.log4j.spi.Decoder
Decode events from document.
decodeEvents(String) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents.
decodeEvents(String) - Method in class org.apache.log4j.xml.XMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents.
decoder - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
Decoder - Interface in org.apache.log4j.spi
Allow LoggingEvents to be reconstructed from a different format (usually XML).
DEFAULT_PORT - Static variable in class org.apache.log4j.net.UDPAppender
The default port number for the UDP packets, 9991.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.XMLSocketReceiver
 
discoverConnnectionProperties() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Learn relevant information about this connection source.
discoverSQLDialect(DatabaseMetaData) - Static method in class org.apache.log4j.db.dialect.Util
 
doPost(LoggingEvent) - Method in class org.apache.log4j.net.SocketReceiver
doPost(LoggingEvent) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
DriverManagerConnectionSource - Class in org.apache.log4j.db
The DriverManagerConnectionSource is an implementation of ConnectionSource that obtains the Connection in the traditional JDBC manner based on the connection URL.
DriverManagerConnectionSource() - Constructor for class org.apache.log4j.db.DriverManagerConnectionSource
 

E

EXCEPTION_EXISTS - Static variable in class org.apache.log4j.db.DBHelper
 

F

finalize() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
FINE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
FINE.
FINE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for FINE.
FINER - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
FINER.
FINER_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for FINER.
FINEST - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
FINEST.
FINEST_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for FINEST.

G

getAddress() - Method in interface org.apache.log4j.net.AddressBased
Returns a String representation of the Address this instance encompasses.
getAddress() - Method in class org.apache.log4j.net.MulticastReceiver
 
getAllAppenders() - Method in class org.apache.log4j.rewrite.RewriteAppender
Get iterator over attached appenders.
getAllPossibleLevels() - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Gets list of supported levels.
getAppender(String) - Method in class org.apache.log4j.rewrite.RewriteAppender
Get appender by name.
getApplication() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the App option.
getApplication() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the App option.
getConnectedSocketDetails() - Method in class org.apache.log4j.net.SocketReceiver
Returns a Vector of SocketDetail representing the IP/Domain name of the currently connected sockets that this receiver has been responsible for creating.
getConnection() - Method in interface org.apache.log4j.db.ConnectionSource
Obtain a Connection for use.
getConnection() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
getConnectionSource() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getConnectionSource() - Method in class org.apache.log4j.db.DBAppender
 
getConnectionSource() - Method in class org.apache.log4j.db.DBReceiver
 
getDataSource() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getDecoder() - Method in class org.apache.log4j.net.MulticastReceiver
 
getDecoder() - Method in class org.apache.log4j.net.UDPReceiver
 
getDecoder() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
getDecoder() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Accessor
getDialectFromCode(int) - Static method in class org.apache.log4j.db.dialect.Util
 
getDriverClass() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Returns the name of the driver class.
getEncoding() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.MulticastReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPReceiver
Returns value of the Encoding option.
getFileURL() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getFileURL() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Accessor
getFilterExpression() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getFilterExpression() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Accessor
getHost() - Method in class org.apache.log4j.net.SocketHubReceiver
Get the remote host to connect to for logging events.
getIDField() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getJndiLocation() - Method in class org.apache.log4j.db.JNDIConnectionSource
Returns the jndiLocation.
getJndiPath() - Method in class org.apache.log4j.net.JMSReceiver
Gets the path to a properties file containing the initial context and jndi provider url
getListener() - Method in class org.apache.log4j.net.SocketReceiver
Deprecated. This receiver now supports multiple listeners
getLocationInfo() - Method in class org.apache.log4j.db.DBAppender
Returns value of the LocationInfo property which determines whether caller's location info is written to the database.
getLocationInfo() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the LocationInfo option.
getLogFormat() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getModel() - Method in class org.apache.log4j.varia.ListModelAppender
Returns a reference to the ListModel that contains all the LoggingEvents that have been appended to this class.
getName() - Method in interface org.apache.log4j.net.NetworkBased
Get name.
getPassword() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Get the password for this connection source.
getPassword() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt password property.
getPort() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.MulticastReceiver
 
getPort() - Method in interface org.apache.log4j.net.PortBased
Returns the Port # that this net based thing is using.
getPort() - Method in class org.apache.log4j.net.SocketHubReceiver
Get the remote port to connect to for logging events.
getPort() - Method in class org.apache.log4j.net.SocketReceiver
Returns the Port # that this net based thing is using.
getPort() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.UDPReceiver
 
getPort() - Method in class org.apache.log4j.net.XMLSocketReceiver
Get the port to receive logging events on.
getPropertyDescriptors() - Method in class org.apache.log4j.net.JMSReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.net.MulticastReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.varia.LogFilePatternReceiverBeanInfo
 
getReconnectionDelay() - Method in class org.apache.log4j.net.SocketHubReceiver
Returns value of the ReconnectionDelay option.
getRefreshMillis() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getRefreshMillis() - Method in class org.apache.log4j.db.DBReceiver
 
getRemoteHost() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the RemoteHost option.
getRemoteHost() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the RemoteHost option.
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.HSQLDBDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MsSQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MySQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.OracleDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.PostgreSQLDialect
 
getSelectInsertId() - Method in interface org.apache.log4j.db.dialect.SQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.SybaseDialect
 
getSql() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getSQLDialectCode() - Method in interface org.apache.log4j.db.ConnectionSource
Get the SQL dialect that should be used for this connection.
getSQLDialectCode() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
 
getTimestampFormat() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getTimeToLive() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Time to Live option.
getTopicFactoryName() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt JMS topic factory name property.
getTopicName() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt JMS topic name property.
getUrl() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Returns the url.
getUser() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Get the user for this connection source.
getUserId() - Method in class org.apache.log4j.net.JMSReceiver
Gets the current user id property.

H

hashCode() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
host - Variable in class org.apache.log4j.net.SocketHubReceiver
Host.
HSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
HSQLDBDialect - Class in org.apache.log4j.db.dialect
The HSQLDB dialect.
HSQLDBDialect() - Constructor for class org.apache.log4j.db.dialect.HSQLDBDialect
 

I

idField - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
INFO - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
INFO.
INFO_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for INFO.
initialize() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Build the regular expression needed to parse log entries
isActive() - Method in class org.apache.log4j.net.JMSReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.MulticastAppender
 
isActive() - Method in class org.apache.log4j.net.MulticastReceiver
Returns true if this receiver is active.
isActive() - Method in interface org.apache.log4j.net.NetworkBased
Get if item is active.
isActive() - Method in class org.apache.log4j.net.SocketHubReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.UDPAppender
 
isActive() - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if this receiver is active.
isAttached(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
Determines if specified appender is attached.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.JMSReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.SocketHubReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.SocketReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isPaused() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
isPaused() - Method in class org.apache.log4j.db.DBReceiver
 
isPaused() - Method in class org.apache.log4j.net.MulticastReceiver
 
isPaused() - Method in class org.apache.log4j.net.SocketNode13
Get if node is paused.
isPaused() - Method in class org.apache.log4j.net.SocketReceiver
isPaused() - Method in class org.apache.log4j.net.UDPReceiver
 
isPaused() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
isTailing() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
isTailing() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Accessor
isUseCurrentThread() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
When true, this property uses the current Thread to perform the import, otherwise when false (the default), a new Thread is created and started to manage the import.
isUseCurrentThread() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
When true, this property uses the current Thread to perform the import, otherwise when false (the default), a new Thread is created and started to manage the import.

J

JMSReceiver - Class in org.apache.log4j.net
JMSReceiver receives a remote logging event on a configured JSM topic and "posts" it to a LoggerRepository as if the event was generated locally.
JMSReceiver() - Constructor for class org.apache.log4j.net.JMSReceiver
 
JMSReceiver(String, String, String, String, String) - Constructor for class org.apache.log4j.net.JMSReceiver
 
JMSReceiverBeanInfo - Class in org.apache.log4j.net
BeanInfo class for the JMSReceiver.
JMSReceiverBeanInfo() - Constructor for class org.apache.log4j.net.JMSReceiverBeanInfo
 
JNDIConnectionSource - Class in org.apache.log4j.db
The JNDIConnectionSource is an implementation of ConnectionSource that obtains a DataSource from a JNDI provider and uses it to obtain a Connection.
JNDIConnectionSource() - Constructor for class org.apache.log4j.db.JNDIConnectionSource
 
jndiPath - Variable in class org.apache.log4j.net.JMSReceiver
 

L

ListModelAppender - Class in org.apache.log4j.varia
A very basic appender that takes the events and stores them in to a ListModel for late retrieval.
ListModelAppender() - Constructor for class org.apache.log4j.varia.ListModelAppender
Constructs a ListModelAppender.
LOG4J_ID_KEY - Static variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
LogFilePatternReceiver - Class in org.apache.log4j.varia
LogFilePatternReceiver can parse and tail log files, converting entries into LoggingEvents.
LogFilePatternReceiver() - Constructor for class org.apache.log4j.varia.LogFilePatternReceiver
 
LogFilePatternReceiverBeanInfo - Class in org.apache.log4j.varia
BeanInfo class for the meta-data of the LogFilePatternReceiver.
LogFilePatternReceiverBeanInfo() - Constructor for class org.apache.log4j.varia.LogFilePatternReceiverBeanInfo
 
LogFileXMLReceiver - Class in org.apache.log4j.xml
LogFileXMLReceiver will read an xml-formated log file and make the events in the log file available to the log4j framework.
LogFileXMLReceiver() - Constructor for class org.apache.log4j.xml.LogFileXMLReceiver
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSReceiver
 

M

main(String[]) - Static method in class org.apache.log4j.varia.LogFilePatternReceiver
 
main(String[]) - Static method in class org.apache.log4j.xml.LogFileXMLReceiver
 
MapRewritePolicy - Class in org.apache.log4j.rewrite
This policy rewrites events where the message of the original event implementes java.util.Map.
MapRewritePolicy() - Constructor for class org.apache.log4j.rewrite.MapRewritePolicy
 
MSSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
MsSQLDialect - Class in org.apache.log4j.db.dialect
The MS SQL Server dialect is untested.
MsSQLDialect() - Constructor for class org.apache.log4j.db.dialect.MsSQLDialect
 
MulticastAppender - Class in org.apache.log4j.net
Multicast-based Appender.
MulticastAppender() - Constructor for class org.apache.log4j.net.MulticastAppender
 
MulticastReceiver - Class in org.apache.log4j.net
Multicast-based receiver.
MulticastReceiver() - Constructor for class org.apache.log4j.net.MulticastReceiver
 
MulticastReceiverBeanInfo - Class in org.apache.log4j.net
BeanInfo class for the meta-data of the MulticastReceiver.
MulticastReceiverBeanInfo() - Constructor for class org.apache.log4j.net.MulticastReceiverBeanInfo
 
MYSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
MySQLDialect - Class in org.apache.log4j.db.dialect
 
MySQLDialect() - Constructor for class org.apache.log4j.db.dialect.MySQLDialect
 

N

NetworkBased - Interface in org.apache.log4j.net
The parent of all the Network based interfaces.

O

onMessage(Message) - Method in class org.apache.log4j.net.JMSReceiver
 
ORACLE_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
OracleDialect - Class in org.apache.log4j.db.dialect
The Oracle dialect.
OracleDialect() - Constructor for class org.apache.log4j.db.dialect.OracleDialect
 
org.apache.log4j.db - package org.apache.log4j.db
The org.apache.log4j.db package provides means to append logging events into various databases.
org.apache.log4j.db.dialect - package org.apache.log4j.db.dialect
 
org.apache.log4j.helpers - package org.apache.log4j.helpers
 
org.apache.log4j.net - package org.apache.log4j.net
 
org.apache.log4j.rewrite - package org.apache.log4j.rewrite
 
org.apache.log4j.spi - package org.apache.log4j.spi
 
org.apache.log4j.varia - package org.apache.log4j.varia
 
org.apache.log4j.xml - package org.apache.log4j.xml
 

P

parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.db.DBAppender
 
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.db.DBReceiver
 
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rewrite.RewriteAppender
password - Variable in class org.apache.log4j.net.JMSReceiver
 
paused - Variable in class org.apache.log4j.net.UDPReceiver
 
port - Variable in class org.apache.log4j.net.SocketHubReceiver
Port.
port - Variable in class org.apache.log4j.net.SocketReceiver
Port.
port - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
PortBased - Interface in org.apache.log4j.net
Net based entities that 'work with' a Port should consider implementing this interface so that they can be treated generically.
POSTGRES_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
PostgreSQLDialect - Class in org.apache.log4j.db.dialect
 
PostgreSQLDialect() - Constructor for class org.apache.log4j.db.dialect.PostgreSQLDialect
 
process(BufferedReader) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read, parse and optionally tail the log file, converting entries into logging events.
PROPERTIES_EXIST - Static variable in class org.apache.log4j.db.DBHelper
 
PropertyRewritePolicy - Class in org.apache.log4j.rewrite
This policy rewrites events by adding a user-specified list of properties to the event.
PropertyRewritePolicy() - Constructor for class org.apache.log4j.rewrite.PropertyRewritePolicy
 

R

reconnectionDelay - Variable in class org.apache.log4j.net.SocketHubReceiver
Reconnection delay.
ReflectionRewritePolicy - Class in org.apache.log4j.rewrite
This policy rewrites events by evaluating any JavaBean properties on the message object and adding them to the event properties.
ReflectionRewritePolicy() - Constructor for class org.apache.log4j.rewrite.ReflectionRewritePolicy
 
removeAllAppenders() - Method in class org.apache.log4j.rewrite.RewriteAppender
Removes and closes all attached appenders.
removeAppender(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
Removes an appender.
removeAppender(String) - Method in class org.apache.log4j.rewrite.RewriteAppender
Remove appender by name.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketHubReceiver
Removes a specific SocketNodeEventListener from this instance so that it will no longer be notified of SocketNode events.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode13
Removes the registered Listener from this instances list of listeners.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Removes the registered Listener from this instances list of listeners.
requiresLayout() - Method in class org.apache.log4j.db.DBAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.MulticastAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.UDPAppender
The UDPAppender uses layouts.
requiresLayout() - Method in class org.apache.log4j.rewrite.RewriteAppender
requiresLayout() - Method in class org.apache.log4j.varia.ListModelAppender
resolveEntity(String, String) - Method in class org.apache.log4j.xml.UtilLoggingEntityResolver
rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.MapRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.ReflectionRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in interface org.apache.log4j.rewrite.RewritePolicy
Rewrite a logging event.
RewriteAppender - Class in org.apache.log4j.rewrite
This appender forwards a logging request to another appender after possibly rewriting the logging event.
RewriteAppender() - Constructor for class org.apache.log4j.rewrite.RewriteAppender
 
RewritePolicy - Interface in org.apache.log4j.rewrite
This interface is implemented to provide a rewrite strategy for RewriteAppender.
run() - Method in class org.apache.log4j.net.SocketNode13
Deserialize events from socket until interrupted.
run() - Method in class org.apache.log4j.net.SocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.net.XMLSocketNode
 
run() - Method in class org.apache.log4j.net.XMLSocketReceiver
Loop, accepting new socket connections.

S

SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.HSQLDBDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.MsSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.OracleDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.PostgreSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.SybaseDialect
 
SELECT_LAST_INSERT_ID - Static variable in class org.apache.log4j.db.dialect.MySQLDialect
 
setActive(boolean) - Method in class org.apache.log4j.net.JMSReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.net.SocketHubReceiver
Sets the flag to indicate if receiver is active or not.
setAdditionalProperties(Map) - Method in interface org.apache.log4j.spi.Decoder
Sets additional properties.
setAdditionalProperties(Map) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAdditionalProperties(Map) - Method in class org.apache.log4j.xml.XMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAddress(String) - Method in class org.apache.log4j.net.MulticastReceiver
 
setApplication(String) - Method in class org.apache.log4j.net.MulticastAppender
The App option takes a string value which should be the name of the application getting logged.
setApplication(String) - Method in class org.apache.log4j.net.UDPAppender
The App option takes a string value which should be the name of the application getting logged.
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBAppender
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBReceiver
 
setDataSource(DataSource) - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
setDecoder(String) - Method in class org.apache.log4j.net.MulticastReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.UDPReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
setDecoder(String) - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Specify the class name implementing org.apache.log4j.spi.Decoder that can process the file.
setDriverClass(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the driver class.
setEncoding(String) - Method in class org.apache.log4j.net.MulticastAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.MulticastReceiver
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.UDPAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.UDPReceiver
The Encoding option specifies how the bytes are encoded.
setFileURL(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFileURL(String) - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Specify the URL of the XML-formatted file to process.
setFilterExpression(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFilterExpression(String) - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Set the filter expression that will cause only events which pass the filter to be forwarded to the log4j framework.
setHost(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Configures the Host property, this will require activateOptions to be called for this to take effect.
setHost(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
 
setIDField(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setJndiLocation(String) - Method in class org.apache.log4j.db.JNDIConnectionSource
Sets the jndiLocation.
setJndiPath(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the path to a properties file containing the initial context and jndi provider url
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode13
Deprecated. Now supports mutliple listeners, this method simply invokes the removeSocketNodeEventListener() to remove the listener, and then readds it.
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Deprecated. This receiver now supports multiple listeners and so this method simply removes the listener (if there already) and readds it to the list. The passed listener will also be returned via the getListener() method still, but this is also deprecated
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.XMLSocketNode
Set the event listener on this node.
setLocationInfo(boolean) - Method in class org.apache.log4j.db.DBAppender
If true, the information written to the database will include caller's location information.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.MulticastAppender
The LocationInfo option takes a boolean value.
setLogFormat(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setPassword(String) - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Sets the password.
setPassword(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the password to use when creating the JMS connection.
setPath(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.db.DBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.MulticastReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketNode13
Sets if node is paused.
setPaused(boolean) - Method in class org.apache.log4j.net.SocketReceiver
setPaused(boolean) - Method in class org.apache.log4j.net.UDPReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
setPort(int) - Method in class org.apache.log4j.net.MulticastAppender
The Port option takes a positive integer representing the port where multicast packets will be sent.
setPort(int) - Method in class org.apache.log4j.net.MulticastReceiver
 
setPort(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote host to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote port to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.net.SocketReceiver
setPort(int) - Method in class org.apache.log4j.net.UDPAppender
The Port option takes a positive integer representing the port where UDP packets will be sent.
setPort(int) - Method in class org.apache.log4j.net.UDPReceiver
 
setPort(int) - Method in class org.apache.log4j.net.XMLSocketReceiver
Set the port to receive logging events on.
setProperties(String) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
Set a string representing the property name/value pairs.
setReconnectionDelay(int) - Method in class org.apache.log4j.net.SocketHubReceiver
The ReconnectionDelay option takes a positive integer representing the number of milliseconds to wait between each failed connection attempt to the server.
setRefreshMillis(int) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setRefreshMillis(int) - Method in class org.apache.log4j.db.DBReceiver
 
setRemoteHost(String) - Method in class org.apache.log4j.net.MulticastAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the multicast packets.
setRemoteHost(String) - Method in class org.apache.log4j.net.UDPAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the UDP packets.
setRewritePolicy(RewritePolicy) - Method in class org.apache.log4j.rewrite.RewriteAppender
 
setSql(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setTailing(boolean) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setTailing(boolean) - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Set the 'tailing' flag - may only work on file:// URLs and may stop tailing if the writing process closes the file and reopens.
setTimestampFormat(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setTimeToLive(int) - Method in class org.apache.log4j.net.MulticastAppender
The Time to live option takes a positive integer representing the time to live value.
setTopicFactoryName(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the JMS topic factory name to use when creating the JMS connection.
setTopicName(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the JMS topic name to use when creating the JMS connection.
setUrl(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the url.
setUseCurrentThread(boolean) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Sets whether the current Thread or a new Thread is created to perform the import, the default being false (new Thread created).
setUseCurrentThread(boolean) - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Sets whether the current Thread or a new Thread is created to perform the import, the default being false (new Thread created).
setUser(String) - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Sets the username.
setUserId(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the user id to use when creating the JMS connection.
SEVERE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
SEVERE.
SEVERE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for SEVERE.
shutdown() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
shutdown() - Method in class org.apache.log4j.db.DBReceiver
 
shutdown() - Method in class org.apache.log4j.net.JMSReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.MulticastReceiver
 
shutdown() - Method in class org.apache.log4j.net.SocketHubReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.SocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.UDPReceiver
 
shutdown() - Method in class org.apache.log4j.net.XMLSocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Close the reader.
shutdown() - Method in class org.apache.log4j.xml.LogFileXMLReceiver
Close the receiver, release any resources that are accessing the file.
socket - Variable in class org.apache.log4j.net.SocketHubReceiver
Socket.
socketClosedEvent(Exception) - Method in class org.apache.log4j.net.SocketHubReceiver
Listen for a socketClosedEvent from the SocketNode.
socketClosedEvent(Exception) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the socket the node was given has been closed.
SocketHubReceiver - Class in org.apache.log4j.net
SocketHubReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.
SocketHubReceiver() - Constructor for class org.apache.log4j.net.SocketHubReceiver
Create new instance.
SocketHubReceiver(String, int) - Constructor for class org.apache.log4j.net.SocketHubReceiver
Create new instance.
SocketHubReceiver(String, int, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketHubReceiver
Create new instance.
SocketNode13 - Class in org.apache.log4j.net
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
SocketNode13(Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketNode13
Constructor for socket and logger repository.
SocketNode13(Socket, Receiver) - Constructor for class org.apache.log4j.net.SocketNode13
Constructor for socket and receiver.
SocketNodeEventListener - Interface in org.apache.log4j.net
Interface used to listen for SocketNode related events.
socketOpened(String) - Method in class org.apache.log4j.net.SocketHubReceiver
This method does nothing.
socketOpened(String) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the SocketNode is created and begins awaiting data.
SocketReceiver - Class in org.apache.log4j.net
SocketReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.
SocketReceiver() - Constructor for class org.apache.log4j.net.SocketReceiver
Create new instance.
SocketReceiver(int) - Constructor for class org.apache.log4j.net.SocketReceiver
Create new instance.
SocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketReceiver
Create new instance.
SQLDialect - Interface in org.apache.log4j.db.dialect
 
sqlStatement - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
supportsBatchUpdates() - Method in interface org.apache.log4j.db.ConnectionSource
If the connection does not support batch updates, we will avoid using them.
supportsBatchUpdates() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support batch updates?
supportsBatchUpdates(DatabaseMetaData) - Method in class org.apache.log4j.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsBatchUpdates() method is missing in the JDBC driver implementation.
supportsGetGeneratedKeys() - Method in interface org.apache.log4j.db.ConnectionSource
If the connection supports the JDBC 3.0 getGeneratedKeys method, then we do not need any specific dialect support.
supportsGetGeneratedKeys() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support the JDBC Connection.getGeneratedKeys method?
supportsGetGeneratedKeys(DatabaseMetaData) - Method in class org.apache.log4j.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsGetGeneratedKeys() method is missing in the JDBC driver implementation.
SybaseDialect - Class in org.apache.log4j.db.dialect
The Sybase dialect.
SybaseDialect() - Constructor for class org.apache.log4j.db.dialect.SybaseDialect
 

T

toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Convert an integer passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Gets level matching numeric value.
toLevel(String) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Get level with specified symbolic name.
toLevel(String, Level) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Get level with specified symbolic name.
topicConnection - Variable in class org.apache.log4j.net.JMSReceiver
 
topicFactoryName - Variable in class org.apache.log4j.net.JMSReceiver
 
topicName - Variable in class org.apache.log4j.net.JMSReceiver
 

U

UDPAppender - Class in org.apache.log4j.net
Sends log information as a UDP datagrams.
UDPAppender() - Constructor for class org.apache.log4j.net.UDPAppender
 
UDPAppender(InetAddress, int) - Constructor for class org.apache.log4j.net.UDPAppender
Sends UDP packets to the address and port.
UDPAppender(String, int) - Constructor for class org.apache.log4j.net.UDPAppender
Sends UDP packets to the address and port.
UDPReceiver - Class in org.apache.log4j.net
Receive LoggingEvents encoded with an XMLLayout, convert the XML data to a LoggingEvent and post the LoggingEvent.
UDPReceiver() - Constructor for class org.apache.log4j.net.UDPReceiver
 
UNKNOWN_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
UNKNOWN_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for UNKNOWN.
userId - Variable in class org.apache.log4j.net.JMSReceiver
 
Util - Class in org.apache.log4j.db.dialect
 
Util() - Constructor for class org.apache.log4j.db.dialect.Util
 
UtilLoggingEntityResolver - Class in org.apache.log4j.xml
An EntityResolver specifically designed to return an empty InputSource for logger.dtd.
UtilLoggingEntityResolver() - Constructor for class org.apache.log4j.xml.UtilLoggingEntityResolver
Create new instance.
UtilLoggingLevel - Class in org.apache.log4j.helpers
An extension of the Level class that provides support for java.util.logging Levels.
UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.helpers.UtilLoggingLevel
Create new instance.
UtilLoggingXMLDecoder - Class in org.apache.log4j.xml
Decodes JDK 1.4's java.util.logging package events delivered via XML (using the logger.dtd).
UtilLoggingXMLDecoder(Component) - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
Create new instance.
UtilLoggingXMLDecoder() - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
Create new instance.

W

WARNING - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
WARNING.
WARNING_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
Numerical value for WARNING.

X

XMLDecoder - Class in org.apache.log4j.xml
Decodes Logging Events in XML formated into elements that are used by Chainsaw.
XMLDecoder(Component) - Constructor for class org.apache.log4j.xml.XMLDecoder
Create new instance.
XMLDecoder() - Constructor for class org.apache.log4j.xml.XMLDecoder
Create new instance.
XMLSocketNode - Class in org.apache.log4j.net
Read LoggingEvent objects sent from a remote client using XML over Sockets (TCP).
XMLSocketNode(String, Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.XMLSocketNode
Constructor for socket and logger repository.
XMLSocketNode(String, Socket, Receiver) - Constructor for class org.apache.log4j.net.XMLSocketNode
Constructor for socket and reciever.
XMLSocketReceiver - Class in org.apache.log4j.net
XMLSocketReceiver receives a remote logging event via XML on a configured socket and "posts" it to a LoggerRepository as if the event were generated locally.
XMLSocketReceiver() - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 
XMLSocketReceiver(int) - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 
XMLSocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 

A C D E F G H I J L M N O P R S T U W X

Copyright © 2007 Apache Software Foundation. All Rights Reserved.