Open ishitatsuyuki opened 6 years ago
A Go logging library, zap has the ability to throttle duplicate output if the rate is too high: https://godoc.org/go.uber.org/zap#SamplingConfig
zap
It's a quite good feature to have, both for not accidentally filling up the disk space (or forcing logrotate discarding data), and for making development easier.
That could totally be done. slog-dedup crate sounds great. If anyone is interested, go for it!
slog-dedup
A Go logging library,
zap
has the ability to throttle duplicate output if the rate is too high: https://godoc.org/go.uber.org/zap#SamplingConfigIt's a quite good feature to have, both for not accidentally filling up the disk space (or forcing logrotate discarding data), and for making development easier.