diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 17ef6dfe8..521be7330 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,6 @@ +### 2.14.3 +* Fixing log level wasn't being respected + ### 2.14.2 * Ability to specify remote server port * Introducing storage api v2 diff --git a/VERSION b/VERSION index 7243b12cf..a168408c9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.14.2 +2.14.4 diff --git a/log/log.go b/log/log.go index a0ea38312..26cf24403 100644 --- a/log/log.go +++ b/log/log.go @@ -11,9 +11,9 @@ import ( func init(){ setup(os.Stdout) - logging.SetLevel(conf.LogLevel()) - logging.Warningf("status=log-level-changed, log-level= %d", conf.LogLevel()) SetOutput(conf.LogFile()) + logging.Warningf("status=log-level-changed, log-level= %d", conf.LogLevel()) + logging.SetLevel(conf.LogLevel()) } func setup(out io.Writer) {