Class LoggingAuditMessageQueue
java.lang.Object
org.openehealth.ipf.commons.audit.queue.AbstractAuditMessageQueue
org.openehealth.ipf.commons.audit.queue.LoggingAuditMessageQueue
- All Implemented Interfaces:
AuditMessageQueue
Message Queue that logs the serialized plain audit messages with (by default)
pretty formatting using a configurable logger. Log level is INFO.
- Since:
- 3.6
- Author:
- Christian Ohr
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.audit.queue.AuditMessageQueue
X_IPF_ATNA_APPLICATION, X_IPF_ATNA_HOSTNAME, X_IPF_ATNA_PROCESSID, X_IPF_ATNA_TIMESTAMP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handle
(AuditContext auditContext, String auditRecord) void
setLoggerName
(String loggerName) Methods inherited from class org.openehealth.ipf.commons.audit.queue.AbstractAuditMessageQueue
audit, setPretty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.audit.queue.AuditMessageQueue
flush, shutdown
-
Constructor Details
-
LoggingAuditMessageQueue
public LoggingAuditMessageQueue()
-
-
Method Details
-
setLoggerName
-
handle
- Specified by:
handle
in classAbstractAuditMessageQueue
-