From 1c7c0dbb5174b5255912183b9ec5870ccdef3426 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 10 Sep 2020 14:57:52 +0100 Subject: printing client stats every other second only if the connection count has changed or when SIGUSR1 or SIGINFO recieved --- internal/io/logger/logger.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'internal/io') diff --git a/internal/io/logger/logger.go b/internal/io/logger/logger.go index 8bfb94f..d059cbb 100644 --- a/internal/io/logger/logger.go +++ b/internal/io/logger/logger.go @@ -223,9 +223,6 @@ func log(what string, severity string, args []interface{}) string { if Mode.Nothing { return "" } - if severity != errorStr && severity != fatalStr { - return "" - } messages := []string{severity} -- cgit v1.2.3