mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-03 07:59:48 +01:00
29194a9dd6
The default access log format has been unnecessarily escaped, leading to spurious backslashes appearing in log lines. Additionally, the `RemoteAddr` field includes the port, which breaks most log parsers attempting to process it. I've added a call to `net.SplitHostPort()` attempting to isolate the address alone, with a fallback to the original address if it errs. Signed-off-by: Gary Moon <gary@garymoon.net> |
||
---|---|---|
.. | ||
adding-legal-pages.en-us.md | ||
backup-and-restore.en-us.md | ||
backup-and-restore.zh-cn.md | ||
backup-and-restore.zh-tw.md | ||
cmd-embedded.en-us.md | ||
command-line.en-us.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
email-setup.en-us.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
fail2ban-setup.en-us.md | ||
fail2ban-setup.zh-cn.md | ||
git-lfs-support.en-us.md | ||
https-support.en-us.md | ||
https-support.zh-cn.md | ||
logging-documentation.en-us.md | ||
mail-templates.en-us.md | ||
repo-indexer.en-us.md | ||
reverse-proxies.en-us.md | ||
reverse-proxies.zh-cn.md | ||
search-engines-indexation.en-us.md | ||
signing.en-us.md |