mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-24 03:51:35 +01:00
Fix log configuration
Fix warning: Failed to load writer mode "router" for logger router: invalid log writer type (mode): router, maybe it needs something like 'MODE=file' in [log.router] section Failed to load writer mode "xorm" for logger xorm: invalid log writer type (mode): xorm, maybe it needs something like 'MODE=file' in [log.xorm] section Fix log level in file because: - warning level break startup service detection (with ynh_systemd_action) - warning level break fail2ban
This commit is contained in:
parent
396f0d4aaa
commit
1a620afa86
@ -83,13 +83,15 @@ MACARON = file
|
|||||||
|
|
||||||
[log.file]
|
[log.file]
|
||||||
FILE_NAME = gitea.log
|
FILE_NAME = gitea.log
|
||||||
LEVEL = Warn
|
LEVEL = Info
|
||||||
|
|
||||||
[log.router]
|
[log.router]
|
||||||
|
MODE = file
|
||||||
FILE_NAME = router.log
|
FILE_NAME = router.log
|
||||||
LEVEL = Warn
|
LEVEL = Warn
|
||||||
|
|
||||||
[log.xorm]
|
[log.xorm]
|
||||||
|
MODE = file
|
||||||
FILE_NAME = xorm.log
|
FILE_NAME = xorm.log
|
||||||
LEVEL = Warn
|
LEVEL = Warn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user