Entropic 2.9.4
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::AuditLogConfig Struct Reference

Audit log configuration within StorageConfig. More...

#include <entropic/types/config.h>

Public Attributes

std::filesystem::path log_dir
 Directory for audit log files.
 
std::string session_id
 UUID for this session.
 
bool enabled = true
 Master toggle for audit logging.
 
size_t flush_interval_entries = 10
 Flush every N entries (0 = every entry)
 
size_t max_file_size = 0
 Rotation size in bytes (0 = unlimited)
 
size_t max_files = 5
 Max rotated files to keep.
 

Detailed Description

Audit log configuration within StorageConfig.

Controls JSONL audit logging of MCP tool calls. When enabled, every tool execution is recorded to audit.jsonl alongside the session persistence files.

Version
1.9.5

Definition at line 672 of file config.h.

Member Data Documentation

◆ enabled

bool entropic::AuditLogConfig::enabled = true

Master toggle for audit logging.

Definition at line 675 of file config.h.

◆ flush_interval_entries

size_t entropic::AuditLogConfig::flush_interval_entries = 10

Flush every N entries (0 = every entry)

Definition at line 676 of file config.h.

◆ log_dir

std::filesystem::path entropic::AuditLogConfig::log_dir

Directory for audit log files.

Definition at line 673 of file config.h.

◆ max_file_size

size_t entropic::AuditLogConfig::max_file_size = 0

Rotation size in bytes (0 = unlimited)

Definition at line 677 of file config.h.

◆ max_files

size_t entropic::AuditLogConfig::max_files = 5

Max rotated files to keep.

Definition at line 678 of file config.h.

◆ session_id

std::string entropic::AuditLogConfig::session_id

UUID for this session.

Definition at line 674 of file config.h.


The documentation for this struct was generated from the following file: