The audit logger was never a separate destination — it was always
log.Sub("audit"), writing to the same sink with a prefix. The
fallback in NewAgent even warned 'deriving from Log' every time.
Replace ag.auditLog.Debug() calls with ag.log.Debug() directly.
Remove the field, AgentCfg.AuditLog, and all session plumbing.
|
||
|---|---|---|
| .. | ||
| event.go | ||
| persist.go | ||
| registry.go | ||
| session.go | ||
| setup.go | ||