From c4d91fddf001262fb25422b5880e86cc7842d741 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Tue, 7 Dec 2021 13:46:45 +0000 Subject: [PATCH] Remove unnecessary startup logging about info level logger. Fixes https://github.com/matrix-org/dendrite/pull/2060#discussion_r763959474 --- internal/log_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/log_unix.go b/internal/log_unix.go index 27d9a8fe6..1e1094f23 100644 --- a/internal/log_unix.go +++ b/internal/log_unix.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !windows // +build !windows package internal @@ -59,7 +60,6 @@ func SetupHookLogging(hooks []config.LogrusHook, componentName string) { } } if !stdLogAdded { - logrus.Info("No std logger config found. Enabling at INFO level by default") setupStdLogHook(logrus.InfoLevel) } // Hooks are now configured for stdout/err, so throw away the default logger output