Class OMRSAuditLogDestination
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogDestination
OMRSAuditLogDestination provides information needed to log records to the configured audit log destinations
 for a specific server instance.
- 
Field SummaryFields inherited from class org.odpi.openmetadata.frameworks.auditlog.AuditLogDestinationoriginatorProperties
- 
Constructor SummaryConstructorsConstructorDescriptionOMRSAuditLogDestination(String localServerName, String localServerType, String localOrganizationName, List<OMRSAuditLogStore> auditLogStores) Initialize the static values used in all log records.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddLogRecord(AuditLogRecord logRecord) Log an audit log record for an event, decision, error, or exception detected by the open metadata services.voidsetLocalMetadataCollectionId(String localMetadataCollectionId) Set up the local metadata collection id.Methods inherited from class org.odpi.openmetadata.frameworks.auditlog.AuditLogDestinationgetOriginatorProperties
- 
Constructor Details- 
OMRSAuditLogDestinationpublic OMRSAuditLogDestination(String localServerName, String localServerType, String localOrganizationName, List<OMRSAuditLogStore> auditLogStores) Initialize the static values used in all log records. These values help to pinpoint the source of messages when audit log records from many servers are consolidated into centralized operational tooling.- Parameters:
- localServerName- name of the local server
- localServerType- type of the local server
- localOrganizationName- name of the organization that owns the local server
- auditLogStores- list of destinations for the audit log records
 
 
- 
- 
Method Details- 
setLocalMetadataCollectionIdSet up the local metadata collection id. This is null if there is no local repository.- Parameters:
- localMetadataCollectionId- String unique identifier for the metadata collection
 
- 
addLogRecordLog an audit log record for an event, decision, error, or exception detected by the open metadata services.- Specified by:
- addLogRecordin class- AuditLogDestination
- Parameters:
- logRecord- the log record
 
 
-