mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 04:55:22 +00:00
velero server: log version and git SHA at startup
Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
@@ -129,7 +129,7 @@ func NewCommand() *cobra.Command {
|
||||
|
||||
// Velero's DefaultLogger logs to stdout, so all is good there.
|
||||
logger := logging.DefaultLogger(logLevel)
|
||||
logger.Infof("Starting Velero server %s", buildinfo.FormattedGitSHA())
|
||||
logger.Infof("Starting Velero server %s (%s)", buildinfo.Version, buildinfo.FormattedGitSHA())
|
||||
|
||||
// NOTE: the namespace flag is bound to velero's persistent flags when the root velero command
|
||||
// creates the client Factory and binds the Factory's flags. We're not using a Factory here in
|
||||
|
||||
Reference in New Issue
Block a user