1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Do not use deprecated log config options by default (#26592)

Simplify the log config

* Remove unnecessary `ROUTER` config, it defaults to the `MODE`.
* `XORM` config was deprecated
This commit is contained in:
wxiaoguang
2023-08-20 09:05:29 +08:00
committed by GitHub
parent f00fdd1abd
commit 79c3329502
6 changed files with 5 additions and 11 deletions

View File

@@ -82,9 +82,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/sessions
[log]
MODE = {{TEST_LOGGER}}
ROOT_PATH = {{REPO_TEST_DIR}}sqlite-log
ROUTER = ,
XORM = file
ENABLE_SSH_LOG = true
logger.xorm.MODE = file
[log.test]
LEVEL = Info