]> source.dussan.org Git - gitea.git/commit
Fix incorrect router logger (#26137) (#26143)
authorGiteabot <teabot@gitea.io>
Wed, 26 Jul 2023 00:37:43 +0000 (20:37 -0400)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2023 00:37:43 +0000 (08:37 +0800)
commit782b137682cc96ac7c1af1d67a7bfbf6b24f208f
tree635c2768076c8394c4402c520813a545e8680757
parent5992365fc1e6cecb0c76c8eb2b5897a291355f61
Fix incorrect router logger (#26137) (#26143)

Backport #26137 by @wxiaoguang

A low-level mistake:

* `log.Info` is global `Info` function, which calls "default" logger
* `logger.Info` is the for router's logger

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
modules/web/routing/logger.go