e1.6.2 Dropped log report fix.

This commit is contained in:
2025-07-13 01:23:37 -04:00
parent 115888979e
commit cf37614e35
4 changed files with 46 additions and 220 deletions

View File

@ -29,7 +29,6 @@ type State struct {
CurrentSize atomic.Int64 // Size of the current log file
EarliestFileTime atomic.Value // stores time.Time for retention
DroppedLogs atomic.Uint64 // Counter for logs dropped
LoggedDrops atomic.Uint64 // Counter for dropped logs message already logged
ActiveLogChannel atomic.Value // stores chan logRecord
StdoutWriter atomic.Value // stores io.Writer (os.Stdout, os.Stderr, or io.Discard)