summaryrefslogtreecommitdiffstats
path: root/templates/admin/config.tmpl
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 /templates/admin/config.tmpl
parent98eeec4cbb6967b0e12181f79f2ffc3db00933f8 (diff)
downloadgitea-0970d6cc38a79c57ffe8e3c85687f7c7c49059be.tar.gz
gitea-0970d6cc38a79c57ffe8e3c85687f7c7c49059be.zip
Log to different adapter according to level
Diffstat (limited to 'templates/admin/config.tmpl')
-rw-r--r--templates/admin/config.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 96565bac87..f49e382705 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -194,12 +194,14 @@
<div class="panel-body">
<dl class="dl-horizontal admin-dl-horizontal">
+ {{range .Loggers}}
<dt>Log Mode</dt>
- <dd>{{.LogMode}}</dd>
+ <dd>{{.Mode}}</dd>
<dt>Log Config</dt>
<dd>
- <div style="padding-top: 5px;"><pre>{{.LogConfig}}</pre></div>
+ <div style="padding-top: 5px;"><pre>{{.Config}}</pre></div>
</dd>
+ {{end}}
</dl>
</div>