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:
Josué Tille 2023-11-30 14:49:11 +01:00
parent 396f0d4aaa
commit 1a620afa86
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF

View File

@ -83,13 +83,15 @@ MACARON = file
[log.file]
FILE_NAME = gitea.log
LEVEL = Warn
LEVEL = Info
[log.router]
MODE = file
FILE_NAME = router.log
LEVEL = Warn
[log.xorm]
MODE = file
FILE_NAME = xorm.log
LEVEL = Warn