Minor code fix for PR #3602

Closes #1122
pull/3740/merge
Unknwon 2016-12-22 03:49:50 -05:00
parent 0f8a5fdf49
commit 89e93fe01e
No known key found for this signature in database
GPG Key ID: FB9F411CDD69BEC1
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -675,7 +675,7 @@ func newLogService() {
sec.Key("USER").MustString("example@example.com"),
sec.Key("PASSWD").MustString("******"),
sec.Key("HOST").MustString("127.0.0.1:25"),
strings.Replace(sec.Key("RECEIVERS").MustString("example@example.com"), ",", "\",\"", -1),
strings.Replace(sec.Key("RECEIVERS").MustString(""), ",", `","`, -1),
sec.Key("SUBJECT").MustString("Diagnostic message from serve"))
case "database":
LogConfigs[i] = fmt.Sprintf(`{"level":%s,"driver":"%s","conn":"%s"}`, level,