-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Reduce unnecessary runner logs in gitea #23646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually, the logs are printed by routers logs, and the runners have to send requests to Gitea periodically. Every HTTP request will cause a log line, even requests for js/css: You could disable routers logs or config it to file, like: [log]
MODE = console
;DISABLE_ROUTER_LOG=false
ROUTER = file |
Reopen because maybe we can provide a filter for routers logs(or Gitea already has? I am not sure) |
IMO router logs are important in sometimes, but the request logs with no errors from runner, and repeat too many times like calling FetchTask, are not so important to be logged. |
Or rewrite the |
It comes from WebSocket ... |
Use WebSocket as a one-time short connection? |
Would be nice to classify what to log (UI, static resources, API, actions, internal API) |
Feature Description
There are too many same
FetchTask
POST request logs in gitea which is unnecessary I think.Maybe we can add a setting in app.ini to cut off these logs which have no errors.
For example:
logs, in #23636
Screenshots
No response
The text was updated successfully, but these errors were encountered: