diff --git a/util/logstash/log.go b/util/logstash/log.go index f7300e3f1..1f52cc4cd 100644 --- a/util/logstash/log.go +++ b/util/logstash/log.go @@ -103,7 +103,7 @@ func (l *logger) All(areas []string, level jww.Threshold, count int) []string { } } - if count > 0 && len(res) >= count { + if count > 0 && len(res) > count { res = res[len(res)-count:] }