]> source.dussan.org Git - gitea.git/commitdiff
Reduce `air` verbosity (#31417) (#31425)
authorGiteabot <teabot@gitea.io>
Wed, 19 Jun 2024 20:57:28 +0000 (04:57 +0800)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 20:57:28 +0000 (04:57 +0800)
Backport #31417 by @silverwind

Make `air` log less. Uses the option added in
https://github.com/air-verse/air/pull/367.

Co-authored-by: silverwind <me@silverwind.io>
.air.toml

index 3740c4d4aa3914b51e2e775ec8661b839519d6a4..8854041a25b921819f899e3c2cee15dda15529b8 100644 (file)
--- a/.air.toml
+++ b/.air.toml
@@ -21,3 +21,6 @@ exclude_dir = [
 ]
 exclude_regex = ["_test.go$", "_gen.go$"]
 stop_on_error = true
+
+[log]
+main_only = true