public class EventPublishingAppender
extends org.apache.log4j.AppenderSkeleton
ErrorLoggedEvent
via Atlassian-Events whenever a log message
exceeds the configured threshold.
To configure, add the following lines to log4j.properties and add 'events' to your rootLogger list:
log4j.appender.events=com.atlassian.confluence.logging.EventPublishingAppender log4j.appender.events.Threshold=ERROR
ErrorLoggedEvent
Constructor and Description |
---|
EventPublishingAppender() |
Modifier and Type | Method and Description |
---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
close() |
boolean |
requiresLayout() |
Copyright © 2003–2020 Atlassian. All rights reserved.