mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-24 03:51:35 +01:00
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:
commit
7cf829e71c
@ -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 admin documentation: <https://docs.gitea.io/>
|
||||
* 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>
|
||||
|
||||
## Developer info
|
||||
|
@ -110,6 +110,7 @@ If you want to use the Git command (like `git clone`, `git pull`, `git push`), y
|
||||
* Site officiel de l’app : <https://gitea.io/>
|
||||
* Documentation officielle de l’admin : <https://docs.gitea.io/>
|
||||
* Dépôt de code officiel de l’app : <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>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
17
conf/app.ini
17
conf/app.ini
@ -62,18 +62,23 @@ PROVIDER = memory
|
||||
MODE = file
|
||||
LEVEL = Info
|
||||
ROOT_PATH = /var/log/__APP__
|
||||
logger.access.MODE =
|
||||
logger.router.MODE = router
|
||||
logger.xorm.MODE = xorm
|
||||
|
||||
REDIRECT_MACARON_LOG= true
|
||||
MACARON = file
|
||||
|
||||
ROUTER_LOG_LEVEL = Warn
|
||||
ROUTER = file
|
||||
[log.file]
|
||||
FILE_NAME = gitea.log
|
||||
|
||||
ENABLE_ACCESS_LOG = Warn
|
||||
ACCESS = file
|
||||
[log.router]
|
||||
FILE_NAME = router.log
|
||||
LEVEL = Warn
|
||||
|
||||
ENABLE_XORM_LOG = Warn
|
||||
XORM = file
|
||||
[log.xorm]
|
||||
FILE_NAME = xorm.log
|
||||
LEVEL = Warn
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
|
Loading…
Reference in New Issue
Block a user