chore: adjust log level
This commit is contained in:
parent
89ddf89052
commit
3af6f0a18d
2
bot.go
2
bot.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue