Closed
Description
- Gitea version (or commit ref): 1.14.0+dev-449-ge0c753e77 (latest docker image (non-rootless))
- Git version:
- Operating system:
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- [x ] No
- Log gist:
Description
I did activate the access log in the config using
DISABLE_ROUTER_LOG=false
ENABLE_ACCESS_LOG=true
ACCESS=file
access.log file appears in the expected location but stays empty. If you tail it you can see that on incoming requests emtpy lines are added.
gitea.log contains error messages:
2020/12/23 14:49:49 ...outers/routes/chi.go:71:1() [E] Could not set up macaron access logger: template: log:1:6: executing "log" at <.Ctx.RemoteAddr>: can't evaluate field Ctx in type routes.routerLoggerOptions