mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65d3e1161b
More fix for #24981 * #24981 Close #22361 * #22361 There were many patches for Gitea's sub-commands to satisfy the facts: * Some sub-commands shouldn't output any log, otherwise the git protocol would be broken * Sometimes the users want to see "verbose" or "quiet" outputs That's a longstanding problem, and very fragile. This PR is only a quick patch for the problem. In the future, the sub-command system should be refactored to a clear solution. ---- Other changes: * Use `ReplaceAllWriters` to replace `RemoveAllWriters().AddWriters(writer)`, then it's an atomic operation. * Remove unnecessary `syncLevelInternal` calls, because `AddWriters/addWritersInternal` already calls it. Co-authored-by: Giteabot <teabot@gitea.io> |
2 years ago | |
---|---|---|
.. | ||
color.go | 2 years ago | |
color_console.go | 2 years ago | |
color_console_other.go | 2 years ago | |
color_console_windows.go | 2 years ago | |
color_router.go | 2 years ago | |
event_format.go | 2 years ago | |
event_format_test.go | 2 years ago | |
event_writer.go | 2 years ago | |
event_writer_base.go | 2 years ago | |
event_writer_conn.go | 2 years ago | |
event_writer_conn_test.go | 2 years ago | |
event_writer_console.go | 2 years ago | |
event_writer_file.go | 2 years ago | |
flags.go | 2 years ago | |
flags_test.go | 2 years ago | |
groutinelabel.go | 2 years ago | |
groutinelabel_test.go | 2 years ago | |
init.go | 2 years ago | |
level.go | 2 years ago | |
level_test.go | 2 years ago | |
logger.go | 2 years ago | |
logger_global.go | 2 years ago | |
logger_impl.go | 2 years ago | |
logger_test.go | 2 years ago | |
manager.go | 2 years ago | |
manager_test.go | 2 years ago | |
misc.go | 2 years ago | |
stack.go | 2 years ago |