YunoHost-Apps / gitea_ynh

Gitea is a fork of Gogs. A git platform, Mirror of https://framagit.org/YunoHost-Apps/gitea_ynh
https://gitea.io
MIT License
22 stars 17 forks source link

Replacements for access, router and xorm log in app.ini #88

Closed CodeShakingSheep closed 11 months ago

CodeShakingSheep commented 1 year ago

Problem

This log entry came up in my Gitea instance.

Deprecated config option `[log]` `ACCESS` present. Use `[log]` `logger.access.MODE` instead. This fallback will be/has been removed in 1.21 (and 5 more)

image

Solution

Replace deprecated log entries in app.ini using the options from the official docs: https://docs.gitea.com/administration/logging-config. I replaced them for ACCESS, ROUTER and XORM. However, I have no idea what MACARON is. Is that still needed? Might be deprecated too...

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

tituspijean commented 12 months ago

!testme

yunohost-bot commented 12 months ago

Fingers crossed! Test Badge