Skip to content

Commit

Permalink
v0.21.7-rc.0
Browse files Browse the repository at this point in the history
update startup banner to include command
  • Loading branch information
kaidaguerre committed Feb 9, 2024
1 parent cae96a0 commit 167db48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions pkg/cmdconfig/cmd_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,11 @@ func createLogger(logBuffer *bytes.Buffer, cmd *cobra.Command) {
// this will also write out the Execution ID - enabling easy filtering of logs for a single execution
// we need to do this since all instances will log to a single file and logs will be interleaved
log.Printf("[INFO] ********************************************************\n")
log.Printf("[INFO] **%16s%20s%16s**\n", " ", fmt.Sprintf("Steampipe [%s]", runtime.ExecutionID), " ")
log.Printf("[INFO] ********************************************************\n")
log.Printf("[INFO] steampipe %s [%s]", cmd.Name(), runtime.ExecutionID)
log.Printf("[INFO] Version: v%s\n", version.VersionString)
log.Printf("[INFO] Log level: %s\n", sdklogging.LogLevel())
log.Printf("[INFO] Log date: %s\n", time.Now().Format("2006-01-02"))
//
log.Printf("[INFO] Log date: %s\n", time.Now().Format("2006-01-02"))
log.Printf("[INFO] ********************************************************\n")
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var steampipeVersion = "0.21.7"
// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
// such as "dev" (in development), "beta", "rc1", etc.
var prerelease = "alpha.0"
var prerelease = "rc.0"

// SteampipeVersion is an instance of semver.Version. This has the secondary
// benefit of verifying during tests and init time that our version is a
Expand Down

0 comments on commit 167db48

Please sign in to comment.