From 7f4e720af473d3d900abcee03f9c3704d839be14 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:01:31 +0100 Subject: [PATCH] Replacements for access, router and xorm log in app.ini --- conf/app.ini | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/conf/app.ini b/conf/app.ini index 5486c32..81e646a 100644 --- a/conf/app.ini +++ b/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