Skip to content

Commit

Permalink
Logging Resec version on Start
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Burd committed Jul 28, 2020
1 parent 49fb7dc commit 80864a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
},
cli.StringFlag{
Name: "consul-lock-key",
Usage: "KV lock location, should be overriden if multiple instances running in the same consul DC",
Usage: "KV lock location, should be overridden if multiple instances running in the same consul DC",
Value: "resec/.lock",
EnvVar: "CONSUL_LOCK_KEY",
},
Expand Down Expand Up @@ -132,6 +132,8 @@ func main() {
default:
log.Fatal("Invalid log format (text, json, gelf)")
}

log.Infof("Starting ReSeC %s", Version)
return nil
}
app.Action = func(c *cli.Context) error {
Expand Down

0 comments on commit 80864a5

Please sign in to comment.