Skip to main content

Module logger

Module logger 

Source
Expand description

JSONL audit logger โ€” append-only log of all operations.

Features:

  • Append-only JSONL format for easy parsing
  • Automatic log rotation when file exceeds MAX_LOG_SIZE (100MB)
  • Rotated files named .1, .2, etc. (max 5 rotations)

Structsยง

AuditEvent
A single audit event.
AuditLogger
Append-only JSONL audit logger with automatic rotation.