diff --git a/logpolicy/logpolicy.go b/logpolicy/logpolicy.go index afb55f7e8..9ce6e727f 100644 --- a/logpolicy/logpolicy.go +++ b/logpolicy/logpolicy.go @@ -21,6 +21,7 @@ "path/filepath" "runtime" "strconv" + "strings" "time" "github.com/klauspost/compress/zstd" @@ -198,7 +199,10 @@ func New(collection string) *Policy { log.SetFlags(0) // other logflags are set on console, not here log.SetOutput(lw) - log.Printf("Program starting: v%v: %#v\n", version.LONG, os.Args) + log.Printf("Program starting: v%v, Go %v: %#v\n", + version.LONG, + strings.TrimPrefix(runtime.Version(), "go"), + os.Args) log.Printf("LogID: %v\n", newc.PublicID) if filchErr != nil { log.Printf("filch failed: %v", err)