autoborrow: change debugf to infof

This commit is contained in:
c9s 2022-04-25 19:10:22 +08:00
parent 7b2398ce39
commit 333378a52a
No known key found for this signature in database
GPG Key ID: F0A7E4490F2EBC8C

View File

@ -114,7 +114,7 @@ func (s *Strategy) checkAndBorrow(ctx context.Context) {
if ok {
toBorrow := marginAsset.Low.Sub(b.Total())
if toBorrow.Sign() < 0 {
log.Debugf("balance %f > low %f. no need to borrow asset %+v",
log.Infof("balance %f > low %f. no need to borrow asset %+v",
b.Total().Float64(),
marginAsset.Low.Float64(),
marginAsset)