From 3851e9753ca12ea7e5751e5fa52600c109f1842c Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 25 Jan 2021 13:01:37 +0000 Subject: [PATCH] Fix log level --- setup/base.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/base.go b/setup/base.go index d1ff30182..6522426cd 100644 --- a/setup/base.go +++ b/setup/base.go @@ -424,7 +424,7 @@ func (b *BaseDendrite) SetupAndServeHTTP( _ = internalServ.Shutdown(ctx) _ = externalServ.Shutdown(ctx) - logrus.Warnf("Stopped HTTP listeners") + logrus.Infof("Stopped HTTP listeners") } func (b *BaseDendrite) WaitForShutdown() { @@ -433,10 +433,9 @@ func (b *BaseDendrite) WaitForShutdown() { <-sigs signal.Reset(syscall.SIGINT, syscall.SIGTERM) - logrus.Warnf("Received shutdown signal") - b.ProcessContext.ShutdownDendrite() + logrus.Warnf("Shutdown signal received") - logrus.Warnf("Waiting for components to shutdown") + b.ProcessContext.ShutdownDendrite() b.ProcessContext.WaitForComponentsToFinish() logrus.Warnf("Dendrite is exiting now")