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

Commit

Permalink
Fix: Only log that we are logging to stdout if we are only logging to…
Browse files Browse the repository at this point in the history
… stdout
  • Loading branch information
geauxvirtual committed Oct 23, 2015
1 parent 30803ab commit bdb4db2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulse.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ func action(ctx *cli.Context) {
defer file.Close()
log.Info("setting log path to: ", logPath)
log.SetOutput(file)
} else {
log.Info("setting log path to: stdout")
}
log.Info("setting log path to: stdout")

controlOpts := []control.ControlOpt{
control.MaxRunningPlugins(maxRunning),
Expand Down

0 comments on commit bdb4db2

Please sign in to comment.