From 1a620afa864727aec835fbef88ef4bb7b78e3bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 30 Nov 2023 14:49:11 +0100 Subject: [PATCH] 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 --- conf/app.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/app.ini b/conf/app.ini index fb400e5..71f59de 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -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