summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-11 14:37:12 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-11 14:37:12 -0400
commit0970d6cc38a79c57ffe8e3c85687f7c7c49059be (patch)
treee38c3237ff5add6b624115ec8a7595fe32abfde4 /conf
parent98eeec4cbb6967b0e12181f79f2ffc3db00933f8 (diff)
downloadgitea-0970d6cc38a79c57ffe8e3c85687f7c7c49059be.tar.gz
gitea-0970d6cc38a79c57ffe8e3c85687f7c7c49059be.zip
Log to different adapter according to level
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/conf/app.ini b/conf/app.ini
index f20665eab3..16a1e2cd0a 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -143,9 +143,9 @@ HOST =
PROVIDER = file
; Provider config options
; memory: not have any config yet
-; file: session file path, e.g. data/sessions
-; redis: config like redis server addr, poolSize, password, e.g. 127.0.0.1:6379,100,astaxie
-; mysql: go-sql-driver/mysql dsn config string, e.g. root:password@/session_table
+; file: session file path, e.g. "data/sessions"
+; redis: config like redis server addr, poolSize, password, e.g. "127.0.0.1:6379,100,astaxie"
+; mysql: go-sql-driver/mysql dsn config string, e.g. "root:password@/session_table"
PROVIDER_CONFIG = data/sessions
; Session cookie name
COOKIE_NAME = i_like_gogits
@@ -169,6 +169,7 @@ DISABLE_GRAVATAR = false
[log]
; Either "console", "file", "conn", "smtp" or "database", default is "console"
+; Use comma to separate multiple modes, e.g. "console, file"
MODE = console
; Buffer length of channel, keep it as it is if you don't know what it is.
BUFFER_LEN = 10000