aboutsummaryrefslogtreecommitdiff
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-04-25 22:13:01 -0400
committerUnknwon <u@gogs.io>2018-04-25 22:13:01 -0400
commit9127001f119843b787e604a0ab732e5ad7f4cb43 (patch)
treef1d92e4fd820b8188d380717b8bfee57f2146d98 /conf/app.ini
parent742420a5e279de99e9e57d67031c3b2e3b61b6a5 (diff)
pkg/setting: support Discord logger
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 22b72b8d..798712cb 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -353,6 +353,14 @@ LEVEL =
; Webhook URL
URL =
+[log.discord]
+; leave empty to inherit
+LEVEL =
+; Webhook URL
+URL =
+; Username displayed in webhook
+USERNAME = %(APP_NAME)s
+
[log.xorm]
; Enable file rotation
ROTATE = true