forgejo/routers/private
zokki 72620db8df feat: add a EXCLUSION to the logger (#8212)
This feature is intended to help reduce noisy logs generated by routine Kubernetes probes and Prometheus scraping. While logs are essential, these specific requests (e.g., to /metrics and /api/healthz) generally don't provide useful information and tend to clutter the output.

The goal is to introduce functionality that effectively acts as the inverse of the existing EXPRESSION mode—allowing logging to be excluded based on a condition, rather than included.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8212
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: zokki <zokki.softwareschmiede@gmail.com>
Co-committed-by: zokki <zokki.softwareschmiede@gmail.com>
2025-07-04 00:08:23 +02:00
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
default_branch.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
hook_post_receive.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
hook_post_receive_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
hook_pre_receive.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
hook_proc_receive.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
hook_verification.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
hook_verification_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
internal.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
internal_repo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
key.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
mail.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
manager.go feat: add a EXCLUSION to the logger (#8212) 2025-07-04 00:08:23 +02:00
manager_process.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
manager_unix.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
restore_repo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
serv.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
ssh_log.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00