0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 12:04:36 +01:00
gitea/modules
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
..
analyze
auth Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
avatar
base Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
cache
charset
context Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
convert Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
cron
csv
doctor Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
emoji Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00
eventsource
generate Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
git Limit stdout tracelog to actual stdout (#16258) 2021-06-26 13:47:56 +01:00
gitgraph
graceful Set self-adjusting deadline for connection writing (#16068) 2021-06-11 00:25:25 +03:00
hcaptcha
highlight Replace ARCCache with TwoQueueCache to avoid patent issue (#16240) 2021-06-24 14:37:07 -04:00
httpcache
httplib
indexer Use git log name-status in get last commit (#16059) 2021-06-21 01:00:46 +03:00
lfs Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
log Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
markup Add sanitizer rules per renderer (#16110) 2021-06-23 17:09:51 -04:00
matchlist
metrics
migrations Add Status Updates whilst Gitea migrations are occurring (#15076) 2021-06-16 18:02:24 -04:00
nosql
notification Improve notifications for WIP draft PR's (#14663) 2021-06-23 00:14:22 -04:00
options
password Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
pprof
private Small refactoring of modules/private (#15947) 2021-06-23 15:38:19 -04:00
process
public
queue Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
recaptcha
references Improve efficiency in FindRenderizableReferenceNumeric and getReferences (#16251) 2021-06-26 01:11:33 +02:00
repofiles
repository Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
secret
session
setting Add --quiet and --verbose to gitea web to control initial logging (#16260) 2021-06-26 20:56:58 -04:00
ssh Set self-adjusting deadline for connection writing (#16068) 2021-06-11 00:25:25 +03:00
storage Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
structs Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
svg
sync
task Add Status Updates whilst Gitea migrations are occurring (#15076) 2021-06-16 18:02:24 -04:00
templates Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
test
timeutil
translation
typesniffer
upload
uri
user
util Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
validation Added support for gopher URLs. (#14749) 2021-06-25 18:38:27 -04:00
web Add tag protection (#15629) 2021-06-25 16:28:55 +02:00