forgejo/modules/doctor
wxiaoguang f0bde0e4f9
Simplify the LFS GC logger usage (#25717)
Remove unnecessary `if opts.Logger != nil` checks.

* For "CLI doctor" mode, output to the console's "logger.Info".
* For "Web Task" mode, output to the default "logger.Debug", to avoid
flooding the server's log in a busy production instance.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-06 16:52:41 +00:00
..
authorizedkeys.go
breaking.go
checkOldArchives.go
dbconsistency.go
dbversion.go
doctor.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
fix16961.go
fix16961_test.go
heads.go
lfs.go Simplify the LFS GC logger usage (#25717) 2023-07-06 16:52:41 +00:00
mergebase.go
misc.go
paths.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
storage.go
usertype.go