mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 12:03:36 +02:00
Batch updates
This commit is contained in:
1 parent
cb52f6d07d
commit
7356153ba3
8 files changed
+41
-13
No files matched your search
@@ -143,6 +143,10 @@ func newLogService() {
|
||||
Cfg.MustValue(modeSec, "HOST", "127.0.0.1:25"),
|
||||
Cfg.MustValue(modeSec, "RECEIVERS", "[]"),
|
||||
Cfg.MustValue(modeSec, "SUBJECT", "Diagnostic message from serve"))
|
||||
case "database":
|
||||
LogConfig = fmt.Sprintf(`{"level":%s,"driver":%s,"conn":%s}`, level,
|
||||
Cfg.MustValue(modeSec, "Driver"),
|
||||
Cfg.MustValue(modeSec, "CONN"))
|
||||
}
|
||||
|
||||
log.NewLogger(Cfg.MustInt64("log", "BUFFER_LEN", 10000), LogMode, LogConfig)
|
||||
|
||||
Reference in new issue
Block a user