community/gitea: config log files are wrong and uncontrolable
gite default setting are not well managed cos log file are already assumed but not managed so sometimes that log file are not created or do not append nothing
take in consideration that gitea in alpine are started from the init script and cos settings are not tuned for alpine linux rare behaviour happened
- patch the gitea sources to defaults to "file" event "console"
- change in the ini file the log section to:
[log] ROOT_PATH = /var/log/gitea MODE = file MACARON = file ROUTER = file ACCESS = file
this is important for servers, dockers and containers.. cos that process if are started does not log anything in some cases..
NOTE and take care of closing the log file; check #12461