Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractLogEventWrapperEntity - Class in org.apache.logging.log4j.core.appender.db.jpa
-
Users of the JPA appender MUST extend this class, using JPA annotations on the concrete class and all of its accessor methods (as needed) to map them to the proper table and columns.
- AbstractLogEventWrapperEntity() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Instantiates this base class.
- AbstractLogEventWrapperEntity(LogEvent) - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Instantiates this base class.
B
- BasicLogEventEntity - Class in org.apache.logging.log4j.core.appender.db.jpa
-
Users of the JPA appender may want to extend this class instead of
AbstractLogEventWrapperEntity
. - BasicLogEventEntity() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Instantiates this base class.
- BasicLogEventEntity(LogEvent) - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Instantiates this base class.
C
- commitAndClose() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
- connectAndStart() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
- ContextDataAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
ReadOnlyStringMap
s inLogEvent
s. - ContextDataAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataAttributeConverter
- ContextDataJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
ReadOnlyStringMap
s inLogEvent
s. - ContextDataJsonAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataJsonAttributeConverter
- ContextMapAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
Map<String, String>
s inLogEvent
s. - ContextMapAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
- ContextMapJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
Map<String, String>
s inLogEvent
s. - ContextMapJsonAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
- ContextStackAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
ThreadContext.ContextStack
s inLogEvent
s. - ContextStackAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
- ContextStackJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
ThreadContext.ContextStack
s inLogEvent
s. - ContextStackJsonAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
- convertToDatabaseColumn(StackTraceElement) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
- convertToDatabaseColumn(Throwable) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
- convertToDatabaseColumn(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
- convertToDatabaseColumn(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
- convertToDatabaseColumn(Instant) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.InstantAttributeConverter
- convertToDatabaseColumn(Level) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
- convertToDatabaseColumn(Marker) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
- convertToDatabaseColumn(Message) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
- convertToDatabaseColumn(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
- convertToDatabaseColumn(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
- convertToDatabaseColumn(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataAttributeConverter
- convertToDatabaseColumn(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataJsonAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextDataJsonAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.InstantAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
- createAppender(String, String, Filter, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.jpa.JpaAppender
-
Factory method for creating a JPA appender within the plugin manager.
G
- getContextData() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Gets the context map.
- getContextMap() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the context map.
- getContextStack() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the context stack.
- getInstant() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- getJPADatabaseManager(String, int, Class<? extends AbstractLogEventWrapperEntity>, Constructor<? extends AbstractLogEventWrapperEntity>, String) - Static method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
Creates a JPA manager for use within the
JpaAppender
, or returns a suitable one if it already exists. - getLevel() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the level.
- getLoggerFqcn() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the fully qualified class name of the caller of the logger API.
- getLoggerName() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the logger name.
- getMarker() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the marker.
- getMessage() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the message.
- getNanoTime() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Returns the value of the running Java Virtual Machine's high-resolution time source when this event was created, or a dummy value if it is known that this value will not be used downstream.
- getSource() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the source location information.
- getThreadId() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the thread ID.
- getThreadName() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the thread name.
- getThreadPriority() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the thread name.
- getThrown() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the exception logged.
- getThrownProxy() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the exception logged.
- getTimeMillis() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the number of milliseconds since JVM launch.
- getWrappedEvent() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
All eventual accessor methods must call this method and delegate the method call to the underlying wrapped event.
I
- InstantAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- InstantAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.InstantAttributeConverter
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Indicates whether this event is the last one in a batch.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Indicates whether the source of the logging request is required downstream.
J
- JpaAppender - Class in org.apache.logging.log4j.core.appender.db.jpa
-
This Appender writes logging events to a relational database using the Java Persistence API.
- JpaDatabaseManager - Class in org.apache.logging.log4j.core.appender.db.jpa
-
An
AbstractDatabaseManager
implementation for relational databases accessed via JPA.
L
- LevelAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- LevelAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
M
- MarkerAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- MarkerAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
- MessageAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- MessageAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
O
- org.apache.logging.log4j.core.appender.db.jpa - package org.apache.logging.log4j.core.appender.db.jpa
-
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
- org.apache.logging.log4j.core.appender.db.jpa.converter - package org.apache.logging.log4j.core.appender.db.jpa.converter
-
The converters in this package implement the JPA 2.1 mechanism for converting non-standard types to and from database fields.
S
- setContextData(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setContextMap(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setContextStack(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- setInstant(Instant) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLoggerFqcn(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLoggerName(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMarker(Marker) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMessage(Message) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setNanoOfMillisecond(int) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setNanoTime(long) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setSource(StackTraceElement) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThreadId(long) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThreadName(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThreadPriority(int) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThrown(Throwable) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setTimeMillis(long) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- shutdownInternal() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
- StackTraceElementAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
A JPA 2.1 attribute converter for
StackTraceElement
s inLogEvent
s. - StackTraceElementAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
- startupInternal() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
T
- ThrowableAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- ThrowableAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
- toImmutable() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- toString() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaAppender
W
- writeInternal(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
All Classes and Interfaces|All Packages|Serialized Form