Class DefaultRewriteAuditAppender
- java.lang.Object
-
- org.apache.syncope.core.logic.audit.DefaultAuditAppender
-
- org.apache.syncope.core.logic.audit.DefaultRewriteAuditAppender
-
- All Implemented Interfaces:
AuditAppender
- Direct Known Subclasses:
SyslogRewriteAuditAppender
,TestFileRewriteAuditAppender
public abstract class DefaultRewriteAuditAppender extends DefaultAuditAppender
Default (abstract) implementation of rewrite audit appender, allowing the logging event to be manipulated before it is processed. It provides rewrite appender definition and a default "pass-through" policy. It is bound to an empty collection of events, i.e. it does not create any logger. This class shall be extended by rewrite appenders; for non-rewrite, extendDefaultAuditAppender
instead.- See Also:
RewriteAppender
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
rewriteAppender
-
Fields inherited from class org.apache.syncope.core.logic.audit.DefaultAuditAppender
domain, targetAppender
-
-
Constructor Summary
Constructors Constructor Description DefaultRewriteAuditAppender(String domain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.apache.logging.log4j.core.appender.rewrite.RewriteAppender>
getRewriteAppender()
protected org.apache.logging.log4j.core.appender.rewrite.RewritePolicy
getRewritePolicy()
-
Methods inherited from class org.apache.syncope.core.logic.audit.DefaultAuditAppender
getTargetAppender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.logic.audit.AuditAppender
getEvents, getTargetAppenderName
-
-
-
-
Constructor Detail
-
DefaultRewriteAuditAppender
public DefaultRewriteAuditAppender(String domain)
-
-
Method Detail
-
getRewritePolicy
protected org.apache.logging.log4j.core.appender.rewrite.RewritePolicy getRewritePolicy()
-
getRewriteAppender
public Optional<org.apache.logging.log4j.core.appender.rewrite.RewriteAppender> getRewriteAppender()
-
-