1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-02 10:07:07 -05:00
forgejo/docs/content/doc/usage
zeripath 35f37a3625
Add --quiet and --verbose to gitea web to control initial logging (#16260)
One of the repeatedly reported issues has been that gitea produces too much console
logging during set up even if the console logger is turned off.

Fundamentally this is due to some otherwise very helpful logging that has to occur
before logging is set up. This has come to a head with the merging of #16243 where
otherwise potentially helpful Trace logging in the git module now appears on the
console.

This PR proposes three things:

1. Change the initial default logger to Info not Trace.
2. Change the logging for the AppPath things to Info in recompense.
3. Add two new command line options to gitea web: --quiet and --verbose

`gitea web -q` or `gitea web --quiet` will only log Fatal level initially.
`gitea web -verbose` will log at Trace.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-06-26 20:56:58 -04:00
..
backup-and-restore.en-us.md Update back-up restore example for 1.13 changes (#14374) 2021-01-18 21:05:11 -05:00
backup-and-restore.zh-cn.md Update back-up restore example for 1.13 changes (#14374) 2021-01-18 21:05:11 -05:00
backup-and-restore.zh-tw.md Update back-up restore example for 1.13 changes (#14374) 2021-01-18 21:05:11 -05:00
command-line.en-us.md Add --quiet and --verbose to gitea web to control initial logging (#16260) 2021-06-26 20:56:58 -04:00
email-setup.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
fail2ban-setup.en-us.md Standardise logging of failed authentication attempts in internal SSH (#13962) 2020-12-15 08:45:13 +00:00
git-lfs-support.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
https-support.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
issue-pull-request-templates.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
issue-pull-request-templates.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
linked-references.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
pull-request.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
pull-request.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
pull-request.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
push-options.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
push-options.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
reverse-proxies.en-us.md fix IIS reverse proxy doc (#16246) 2021-06-25 14:38:41 +02:00
reverse-proxies.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
template-repositories.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00