mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
55a22d1136
* Improve log document * Update docs/content/doc/help/seek-help.en-us.md Co-authored-by: delvh <dev.lh@web.de> * Update docs/content/doc/help/seek-help.en-us.md Co-authored-by: Gusted <williamzijl7@hotmail.com> * Use different log names to avoid conflicts * Update seek-help.en-us.md Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2.2 KiB
2.2 KiB
date | title | slug | weight | toc | draft | menu | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2018-05-21T15:00:00+00:00 | Support Options | seek-help | 10 | false | false |
|
Support Options
NOTE: When asking for support, it may be a good idea to have the following available so that the person helping has all the info they need:
- Your
app.ini
(with any sensitive data scrubbed as necessary). - The Gitea logs, and any other appropriate log files for the situation.
- The logs are likely to be outputted to console. If you need to collect logs from files,
you could copy the following config into your
app.ini
(remove all other[log]
sections), then you can find the*.log
files in Gitea's log directory (default:%(GITEA_WORK_DIR)/log
).
; To show all SQL logs, you can also set LOG_SQL=true in the [database] section [log] LEVEL=debug MODE=console,file ROUTER=console,file XORM=console,file ENABLE_XORM_LOG=true FILE_NAME=gitea.log [log.file.router] FILE_NAME=router.log [log.file.xorm] FILE_NAME=xorm.log
- The logs are likely to be outputted to console. If you need to collect logs from files,
you could copy the following config into your
- Any error messages you are seeing.
- When possible, try to replicate the issue on try.gitea.io and include steps so that others can reproduce the issue.
- This will greatly improve the chance that the root of the issue can be quickly discovered and resolved.
- If you meet slow/hanging/deadlock problems, please report the stack trace when the problem occurs:
- Enable pprof in
app.ini
and restart Gitea
[server] ENABLE_PPROF = true
- Trigger the bug, when Gitea gets stuck, use curl or browser to visit:
http://127.0.0.1:6060/debug/pprof/goroutine?debug=1
(IP is127.0.0.1
and port is6060
) - Report the output (the stack trace doesn't contain sensitive data)
- Enable pprof in
Bugs
If you found a bug, please create an issue on GitHub.
Chinese Support
Support for the Chinese language is provided at Our discourse or QQ Group 328432459.