Improve Gitea logging
This commit is contained in:
parent
2c3b381755
commit
0c62ff6c84
@ -8,8 +8,14 @@ node.default["gitea"]["postgresql_host"] = "localhost:5432"
|
|||||||
node.default["gitea"]["domain"] = "gitea.kosmos.org"
|
node.default["gitea"]["domain"] = "gitea.kosmos.org"
|
||||||
|
|
||||||
node.default["gitea"]["config"] = {
|
node.default["gitea"]["config"] = {
|
||||||
|
"log": {
|
||||||
|
"level" => "Info",
|
||||||
|
"logger.router.MODE" => "",
|
||||||
|
"logger.xorm.MODE" => "",
|
||||||
|
"logger.access.MODE" => ""
|
||||||
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"enabled": true
|
"enabled" => true
|
||||||
},
|
},
|
||||||
"webhook": {
|
"webhook": {
|
||||||
"allowed_host_list" => "external,127.0.1.1"
|
"allowed_host_list" => "external,127.0.1.1"
|
||||||
|
@ -74,8 +74,11 @@ ENABLE_OPENID_SIGNIN = false
|
|||||||
ENABLE_OPENID_SIGNUP = false
|
ENABLE_OPENID_SIGNUP = false
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
MODE = console
|
MODE = console
|
||||||
LEVEL = Debug
|
LEVEL = <%= @config["log"]["level"] %>
|
||||||
|
logger.router.MODE = <%= @config["log"]["logger.router.MODE"] %>
|
||||||
|
logger.xorm.MODE = <%= @config["log"]["logger.xorm.MODE"] %>
|
||||||
|
logger.access.MODE = <%= @config["log"]["logger.access.MODE"] %>
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user