Skip to content

Commit

Permalink
Add print version info when ready
Browse files Browse the repository at this point in the history
  • Loading branch information
perrornet committed Jun 15, 2024
1 parent 5a68f49 commit c12bed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func Action(cli *cli.Context) error {
if err := initConfig(ctx, cli.Bool("placeholder"), cli.String("conf"), cli.String("port")); err != nil {
return errors.Wrap(err, "init config")
}
logrus.Infof("version: %s, commit: %s, commitTime: %s", version, commitMessage, commitTime)
if config.Debug {
logrus.SetReportCaller(true)
logrus.SetLevel(logrus.DebugLevel)
Expand Down

0 comments on commit c12bed1

Please sign in to comment.