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:
parent
f00fdd1abd
commit
79c3329502
@ -46,7 +46,6 @@ PATH = /data/gitea/attachments
|
|||||||
[log]
|
[log]
|
||||||
MODE = console
|
MODE = console
|
||||||
LEVEL = info
|
LEVEL = info
|
||||||
ROUTER = console
|
|
||||||
ROOT_PATH = /data/gitea/log
|
ROOT_PATH = /data/gitea/log
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
|
@ -86,9 +86,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mssql/data/sessions
|
|||||||
[log]
|
[log]
|
||||||
MODE = {{TEST_LOGGER}}
|
MODE = {{TEST_LOGGER}}
|
||||||
ROOT_PATH = {{REPO_TEST_DIR}}mssql-log
|
ROOT_PATH = {{REPO_TEST_DIR}}mssql-log
|
||||||
ROUTER = ,
|
|
||||||
XORM = file
|
|
||||||
ENABLE_SSH_LOG = true
|
ENABLE_SSH_LOG = true
|
||||||
|
logger.xorm.MODE = file
|
||||||
|
|
||||||
[log.test]
|
[log.test]
|
||||||
LEVEL = Info
|
LEVEL = Info
|
||||||
|
@ -84,9 +84,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/data/sessions
|
|||||||
[log]
|
[log]
|
||||||
MODE = {{TEST_LOGGER}}
|
MODE = {{TEST_LOGGER}}
|
||||||
ROOT_PATH = {{REPO_TEST_DIR}}mysql-log
|
ROOT_PATH = {{REPO_TEST_DIR}}mysql-log
|
||||||
ROUTER = ,
|
|
||||||
XORM = file
|
|
||||||
ENABLE_SSH_LOG = true
|
ENABLE_SSH_LOG = true
|
||||||
|
logger.xorm.MODE = file
|
||||||
|
|
||||||
[log.test]
|
[log.test]
|
||||||
LEVEL = Info
|
LEVEL = Info
|
||||||
|
@ -83,9 +83,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql8/data/sessions
|
|||||||
[log]
|
[log]
|
||||||
MODE = {{TEST_LOGGER}}
|
MODE = {{TEST_LOGGER}}
|
||||||
ROOT_PATH = {{REPO_TEST_DIR}}mysql8-log
|
ROOT_PATH = {{REPO_TEST_DIR}}mysql8-log
|
||||||
ROUTER = ,
|
|
||||||
XORM = file
|
|
||||||
ENABLE_SSH_LOG = true
|
ENABLE_SSH_LOG = true
|
||||||
|
logger.xorm.MODE = file
|
||||||
|
|
||||||
[log.test]
|
[log.test]
|
||||||
LEVEL = Info
|
LEVEL = Info
|
||||||
|
@ -87,9 +87,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-pgsql/data/sessions
|
|||||||
[log]
|
[log]
|
||||||
MODE = {{TEST_LOGGER}}
|
MODE = {{TEST_LOGGER}}
|
||||||
ROOT_PATH = {{REPO_TEST_DIR}}pgsql-log
|
ROOT_PATH = {{REPO_TEST_DIR}}pgsql-log
|
||||||
ROUTER = ,
|
|
||||||
XORM = file
|
|
||||||
ENABLE_SSH_LOG = true
|
ENABLE_SSH_LOG = true
|
||||||
|
logger.xorm.MODE = file
|
||||||
|
|
||||||
[log.test]
|
[log.test]
|
||||||
LEVEL = Info
|
LEVEL = Info
|
||||||
|
@ -82,9 +82,8 @@ PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-sqlite/data/sessions
|
|||||||
[log]
|
[log]
|
||||||
MODE = {{TEST_LOGGER}}
|
MODE = {{TEST_LOGGER}}
|
||||||
ROOT_PATH = {{REPO_TEST_DIR}}sqlite-log
|
ROOT_PATH = {{REPO_TEST_DIR}}sqlite-log
|
||||||
ROUTER = ,
|
|
||||||
XORM = file
|
|
||||||
ENABLE_SSH_LOG = true
|
ENABLE_SSH_LOG = true
|
||||||
|
logger.xorm.MODE = file
|
||||||
|
|
||||||
[log.test]
|
[log.test]
|
||||||
LEVEL = Info
|
LEVEL = Info
|
||||||
|
Loading…
Reference in New Issue
Block a user