Merge pull request #88 from CodeShakingSheep/replace-deprecated-log-config-options

Replacements for access, router and xorm log in app.ini
This commit is contained in:
Josue-T 2023-11-22 15:47:34 +01:00 committed by GitHub
commit 7cf829e71c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View File

@ -110,6 +110,7 @@ If you want to use the Git command (like `git clone`, `git pull`, `git push`), y
* Official app website: <https://gitea.io/> * Official app website: <https://gitea.io/>
* Official admin documentation: <https://docs.gitea.io/> * Official admin documentation: <https://docs.gitea.io/>
* Upstream app code repository: <https://github.com/go-gitea/gitea> * Upstream app code repository: <https://github.com/go-gitea/gitea>
* YunoHost Store: <https://apps.yunohost.org/app/gitea>
* Report a bug: <https://github.com/YunoHost-Apps/gitea_ynh/issues> * Report a bug: <https://github.com/YunoHost-Apps/gitea_ynh/issues>
## Developer info ## Developer info

View File

@ -110,6 +110,7 @@ If you want to use the Git command (like `git clone`, `git pull`, `git push`), y
* Site officiel de lapp : <https://gitea.io/> * Site officiel de lapp : <https://gitea.io/>
* Documentation officielle de ladmin : <https://docs.gitea.io/> * Documentation officielle de ladmin : <https://docs.gitea.io/>
* Dépôt de code officiel de lapp : <https://github.com/go-gitea/gitea> * Dépôt de code officiel de lapp : <https://github.com/go-gitea/gitea>
* YunoHost Store: <https://apps.yunohost.org/app/gitea>
* Signaler un bug : <https://github.com/YunoHost-Apps/gitea_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/gitea_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs

View File

@ -62,18 +62,23 @@ PROVIDER = memory
MODE = file MODE = file
LEVEL = Info LEVEL = Info
ROOT_PATH = /var/log/__APP__ ROOT_PATH = /var/log/__APP__
logger.access.MODE =
logger.router.MODE = router
logger.xorm.MODE = xorm
REDIRECT_MACARON_LOG= true REDIRECT_MACARON_LOG= true
MACARON = file MACARON = file
ROUTER_LOG_LEVEL = Warn [log.file]
ROUTER = file FILE_NAME = gitea.log
ENABLE_ACCESS_LOG = Warn [log.router]
ACCESS = file FILE_NAME = router.log
LEVEL = Warn
ENABLE_XORM_LOG = Warn [log.xorm]
XORM = file FILE_NAME = xorm.log
LEVEL = Warn
[security] [security]
INSTALL_LOCK = true INSTALL_LOCK = true