[#1210] reputation: Improve debug logs
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
0adb29c035
commit
13af4e6046
17 changed files with 188 additions and 60 deletions
|
@ -108,7 +108,7 @@ func (c *announceContext) announce() {
|
|||
return
|
||||
}
|
||||
|
||||
c.log.Debug("announcement successfully finished")
|
||||
c.log.Debug("trust announcement successfully finished")
|
||||
}
|
||||
|
||||
func (c *Controller) acquireAnnouncement(prm StartPrm) *announceContext {
|
||||
|
@ -163,9 +163,9 @@ func (c *commonContext) freeAnnouncement() {
|
|||
c.ctrl.announceMtx.Unlock()
|
||||
|
||||
if stopped {
|
||||
c.log.Debug("announcement successfully interrupted")
|
||||
c.log.Debug("trust announcement successfully interrupted")
|
||||
} else {
|
||||
c.log.Debug("announcement is not started or already interrupted")
|
||||
c.log.Debug("trust announcement is not started or already interrupted")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,9 +254,9 @@ func (c *commonContext) freeReport() {
|
|||
c.ctrl.reportMtx.Unlock()
|
||||
|
||||
if stopped {
|
||||
c.log.Debug("announcement successfully interrupted")
|
||||
c.log.Debug("trust announcement successfully interrupted")
|
||||
} else {
|
||||
c.log.Debug("announcement is not started or already interrupted")
|
||||
c.log.Debug("trust announcement is not started or already interrupted")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue