From 3646723ae38a47515455e089552283cd5677adc3 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 28 Mar 2023 18:34:15 +0300 Subject: [PATCH] [#184] morph: Make deposit logs INFO We have already had and solved plenty of deposit issues and notary balance is a really important thing. Deserves to be INFO even before the huge logs severity refactor, happens on an app start only. Signed-off-by: Pavel Karpy --- pkg/morph/client/notary.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index 307a989f..464d76d2 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -202,7 +202,7 @@ func (c *Client) depositNotary(amount fixedn.Fixed8, till int64) (res util.Uint2 // Transaction is already in mempool waiting to be processed. // This is an expected situation if we restart the service. - c.logger.Debug("notary deposit has already been made", + c.logger.Info("notary deposit has already been made", zap.Int64("amount", int64(amount)), zap.Int64("expire_at", till), zap.Uint32("vub", vub), @@ -210,7 +210,7 @@ func (c *Client) depositNotary(amount fixedn.Fixed8, till int64) (res util.Uint2 return util.Uint256{}, nil } - c.logger.Debug("notary deposit invoke", + c.logger.Info("notary deposit invoke", zap.Int64("amount", int64(amount)), zap.Int64("expire_at", till), zap.Uint32("vub", vub),