Skip to content

Commit

Permalink
Fixing log level wasn't being respected (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo authored May 5, 2019
1 parent ff5292e commit c9dc6a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.14.2
2.14.4
4 changes: 2 additions & 2 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9dc6a3

Please sign in to comment.