Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
remove Enable debug mode message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Strappazzon C committed Jul 11, 2020
1 parent 38be653 commit 3d52d3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion command/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

// Version is a const to have the latest version number for this code.
const Number string = "1.4.3"
const Number string = "1.4.4"

// Build date and time when building.
var BuildTime string
Expand Down
2 changes: 0 additions & 2 deletions common/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ func Configure() {

if flag.Lookup("debug") != nil && flag.Lookup("debug").Value.(flag.Getter).Get().(bool) {
logrus.SetLevel(logrus.DebugLevel)
logrus.Info("Enable debug mode")
}

if config.File.General.Debug {
logrus.SetLevel(logrus.DebugLevel)
logrus.Info("Enable debug mode")
}
}

Expand Down

0 comments on commit 3d52d3c

Please sign in to comment.