chore: adjust log level

This commit is contained in:
Yiyang Kang 2023-03-08 04:49:26 +08:00
parent 89ddf89052
commit 3af6f0a18d
Signed by: kkyy
GPG Key ID: 80FD317ECAF06CC3
1 changed files with 1 additions and 1 deletions

2
bot.go
View File

@ -85,7 +85,7 @@ func logMiddleware(next tele.HandlerFunc) tele.HandlerFunc {
return func(c tele.Context) error { return func(c tele.Context) error {
upd := c.Update() upd := c.Update()
defer func() { defer func() {
logger.Infow("Log middleware", "update", upd) logger.Debugw("Log middleware", "update", upd)
}() }()
return next(c) return next(c)