diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index cdacf0b0c..5140c40b9 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -23,6 +23,7 @@ import ( "os" "strings" "sync" + "time" "github.com/spf13/cobra" "github.com/spf13/pflag" @@ -55,7 +56,8 @@ func init() { func debug(format string, v ...interface{}) { if settings.Debug { - format = fmt.Sprintf("[debug] %s\n", format) + timeNow := time.Now().UTC().String() + format = fmt.Sprintf("%s [debug] %s\n", timeNow, format) log.Output(2, fmt.Sprintf(format, v...)) } }