-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
researchNeeds investigation before implementationNeeds investigation before implementation
Description
Context
Audit ID: SEC-7
Pino worker-thread transports have no reliable flush callback. The current 100ms delay in logger.ts may be insufficient under load, potentially losing final log lines during shutdown.
Approach
- Investigate Pino internals for flush support with worker-thread transports
- Consider increasing delay to 250-500ms as a simple fix
- Evaluate custom transport with explicit flush if log loss is unacceptable
- Document findings regardless of outcome
Files
src/core/lib/logger/logger.ts(L117-122)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
researchNeeds investigation before implementationNeeds investigation before implementation