Replacements for access, router and xorm log in app.ini

This commit is contained in:
CodeShakingSheep 2023-11-13 16:01:31 +01:00 committed by GitHub
parent a9ceb15703
commit 7f4e720af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,18 +62,23 @@ PROVIDER = memory
MODE = file MODE = file
LEVEL = Info LEVEL = Info
ROOT_PATH = /var/log/__APP__ ROOT_PATH = /var/log/__APP__
logger.access.MODE =
logger.router.MODE = router
logger.xorm.MODE = xorm
REDIRECT_MACARON_LOG= true REDIRECT_MACARON_LOG= true
MACARON = file MACARON = file
ROUTER_LOG_LEVEL = Warn [log.file]
ROUTER = file FILE_NAME = gitea.log
ENABLE_ACCESS_LOG = Warn [log.router]
ACCESS = file FILE_NAME = router.log
LEVEL = Warn
ENABLE_XORM_LOG = Warn [log.xorm]
XORM = file FILE_NAME = xorm.log
LEVEL = Warn
[security] [security]
INSTALL_LOCK = true INSTALL_LOCK = true