aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mysql8.ini.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-20 09:05:29 +0800
committerGitHub <noreply@github.com>2023-08-20 01:05:29 +0000
commit79c3329502217b664ef81d3f7f65aaf58282d29d (patch)
tree100c0905b8eedbfe2669888434c3068a4fc18129 /tests/mysql8.ini.tmpl
parentf00fdd1abdf8d32acc96546da724946d5d5cb4c5 (diff)
downloadgitea-79c3329502217b664ef81d3f7f65aaf58282d29d.tar.gz
gitea-79c3329502217b664ef81d3f7f65aaf58282d29d.zip
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
Diffstat (limited to 'tests/mysql8.ini.tmpl')
-rw-r--r--tests/mysql8.ini.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mysql8.ini.tmpl b/tests/mysql8.ini.tmpl
index 6336441741..7d4c27c036 100644
--- a/tests/mysql8.ini.tmpl
+++ b/tests/mysql8.ini.tmpl
@@ -83,9 +83,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql8/data/sessions
[log]
MODE = {{TEST_LOGGER}}
ROOT_PATH = {{REPO_TEST_DIR}}mysql8-log
-ROUTER = ,
-XORM = file
ENABLE_SSH_LOG = true
+logger.xorm.MODE = file
[log.test]
LEVEL = Info