Skip to content

Conversation

@hilmarf
Copy link
Member

@hilmarf hilmarf commented Sep 10, 2025

LogRecordProcessor auditLogProcessor =
AuditLogRecordProcessor.builder(grpcExporter, auditLogStore)
.setExceptionHandler(auditExceptionHandler) // use default handler which logs to stderr
.setExporterTimeout(42, TimeUnit.SECONDS) // use default timeout of 30s
.setRetryPolicy(retryPolicy) // use default retry policy
.setMaxExportBatchSize(42) // increase batch size for audit logs
.setScheduleDelay(42, TimeUnit.SECONDS) // use default delay of 5s
.setWaitOnExport(true) // block when shutting down to ensure delivery
.build();

Signed-off-by: Hilmar Falkenberg <[email protected]>
Signed-off-by: Hilmar Falkenberg <[email protected]>
Signed-off-by: Hilmar Falkenberg <[email protected]>
@hilmarf hilmarf moved this to In progress in OTel-Audit-Logging Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants