Package org.logevents.observers
Standard observers included in LogEvents that can be created in the configuration
file with observer.myobs=ConsoleLogEventObserver
(for example).
Observers outside this package must be created with full package name
(e.g. observer.myobs=org.logevents.observers.ConsoleLogEventObserver
)
The most important observers to be aware of are
ConsoleLogEventObserver
,
FileLogEventObserver
,
DatabaseLogEventObserver
as well as
AbstractBatchingLogEventObserver
, which is
the superclass of MicrosoftTeamsLogEventObserver
,
SmtpLogEventObserver
and SlackLogEventObserver
-
Interface Summary Interface Description LogEventSource -
Class Summary Class Description AbstractBatchingLogEventObserver Used to gather up a number of log event to process as a batch.AbstractHttpPostJsonLogEventObserver Convenience superclass for observers that send JSON over HTTPCircularBufferLogEventObserver Collects log events in an internal circular buffer.ConditionalLogEventObserver An observer that filters log messages by a given conditions, forwarding those that match the condition to a delegate observerConsoleLogEventObserver Log messages to the system out with suitable formatter.DatabaseLogEventObserver Writes log events asynchronously to relational database with JDBC.DateRollingLogEventObserver Log events to a file with the date appended to the fileName pattern.ElasticsearchLogEventObserver Publishes asynchronously to Elasticsearch with the Elasticsearch Index APIFileLogEventObserver Logs events to file.HumioLogEventObserver Publishes asynchronously to Humio Elasticsearch Bulk APILogEventBuffer In-memory implementation ofLogEventSource
to be used withWebLogEventObserver
MicrosoftTeamsLogEventObserver Sends log messages to Microsoft Teams through a webhook extension.SlackLogEventObserver Writes log events as asynchronous batches to Slack.SmtpLogEventObserver Writes log events as asynchronous batches as email over SMTP.StatisticsLogEventsObserver Counts logevents per minute and hour grouped by Level.SystemTrayLogEventObserver Displays messages in the system tray notification area of the operating system.TcpLogEventObserver Writes LogEvents to a TCP address.WebLogEventObserver