mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Fix log level
This commit is contained in:
parent
de11c1bc47
commit
3851e9753c
|
|
@ -424,7 +424,7 @@ func (b *BaseDendrite) SetupAndServeHTTP(
|
||||||
|
|
||||||
_ = internalServ.Shutdown(ctx)
|
_ = internalServ.Shutdown(ctx)
|
||||||
_ = externalServ.Shutdown(ctx)
|
_ = externalServ.Shutdown(ctx)
|
||||||
logrus.Warnf("Stopped HTTP listeners")
|
logrus.Infof("Stopped HTTP listeners")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *BaseDendrite) WaitForShutdown() {
|
func (b *BaseDendrite) WaitForShutdown() {
|
||||||
|
|
@ -433,10 +433,9 @@ func (b *BaseDendrite) WaitForShutdown() {
|
||||||
<-sigs
|
<-sigs
|
||||||
signal.Reset(syscall.SIGINT, syscall.SIGTERM)
|
signal.Reset(syscall.SIGINT, syscall.SIGTERM)
|
||||||
|
|
||||||
logrus.Warnf("Received shutdown signal")
|
logrus.Warnf("Shutdown signal received")
|
||||||
b.ProcessContext.ShutdownDendrite()
|
|
||||||
|
|
||||||
logrus.Warnf("Waiting for components to shutdown")
|
b.ProcessContext.ShutdownDendrite()
|
||||||
b.ProcessContext.WaitForComponentsToFinish()
|
b.ProcessContext.WaitForComponentsToFinish()
|
||||||
|
|
||||||
logrus.Warnf("Dendrite is exiting now")
|
logrus.Warnf("Dendrite is exiting now")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue