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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 11 deletions

View file

@ -46,7 +46,6 @@ PATH = /data/gitea/attachments
[log]
MODE = console
LEVEL = info
ROUTER = console
ROOT_PATH = /data/gitea/log
[security]