diff options
author | Unknwon <u@gogs.io> | 2017-02-09 23:53:57 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-09 23:53:57 -0500 |
commit | d9d329bec8984723dfad97d496278c4c9e35d5d5 (patch) | |
tree | 5498b2ddb400cf956e66053b77c1837ae676ccf8 /conf | |
parent | 76879e977b1cb563eff458d9efdd0f4ec3ca163a (diff) |
modules/setting: add Slack logger
Conn and email loggers are removed for now unless people requested
for them, then try to add back in gopkg.in/clog.v1
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 15f674bb..48e483dc 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -298,6 +298,7 @@ MAX_FILES = 5 ; For more information about the format see http://golang.org/pkg/time/#pkg-constants FORMAT = +; General settings of loggers [log] ROOT_PATH = ; Can be "console" and "file", default is "console" @@ -310,10 +311,12 @@ LEVEL = Trace ; For "console" mode only [log.console] +; leave empty to inherit LEVEL = ; For "file" mode only [log.file] +; leave empty to inherit LEVEL = ; This enables automated log rotate (switch of following options) LOG_ROTATE = true @@ -326,6 +329,13 @@ MAX_LINES = 1000000 ; Expired days of log file (delete after max days) MAX_DAYS = 7 +; For "slack" mode only +[log.slack] +; leave empty to inherit +LEVEL = +; Webhook URL +URL = + [cron] ; Enable running cron tasks periodically. ENABLED = true |