From 4e0c697aaf29ce6911b9e6ade36c50f619363adc Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 7 Dec 2015 11:33:04 -0500 Subject: [PATCH] force new INI version --- cmd/web.go | 2 +- modules/log/log.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/web.go b/cmd/web.go index 2ed31e1fab49..e1e3c7a970dc 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -85,7 +85,7 @@ func checkVersion() { {"github.com/go-macaron/i18n", i18n.Version, "0.2.0"}, {"github.com/go-macaron/session", session.Version, "0.1.6"}, {"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, - {"gopkg.in/ini.v1", ini.Version, "1.3.4"}, + {"gopkg.in/ini.v1", ini.Version, "1.8.1"}, } for _, c := range checkers { if !version.Compare(c.Version(), c.Expected, ">=") { diff --git a/modules/log/log.go b/modules/log/log.go index c1db6c6cdbd5..a17c912f3178 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -33,7 +33,7 @@ func NewLogger(bufLen int64, mode, config string) { loggers = append(loggers, logger) } if err := logger.SetLogger(mode, config); err != nil { - Fatal(1, "Fail to set logger(%s): %v", mode, err) + Fatal(2, "Fail to set logger (%s): %v", mode, err) } }