summaryrefslogtreecommitdiff
path: root/internal/io/logger
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-09-10 14:57:52 +0100
committerPaul Buetow <pbuetow@mimecast.com>2020-09-10 14:57:52 +0100
commit1c7c0dbb5174b5255912183b9ec5870ccdef3426 (patch)
tree50a5e492ac42221178320fb06a16c34e1b0a4bba /internal/io/logger
parent40cbef0c243042521bdf589b3c4549ff32508592 (diff)
printing client stats every other second only if the connection count has changed or when SIGUSR1 or SIGINFO recieved
Diffstat (limited to 'internal/io/logger')
-rw-r--r--internal/io/logger/logger.go3
1 files changed, 0 insertions, 3 deletions
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}