From 8740d3eb7f7b15ee99e33c9b860296cea562b694 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Mon, 14 Nov 2016 19:56:57 -0800 Subject: [PATCH] feat(tiller): add source file to log entries --- cmd/tiller/tiller.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index d414524c4..70672a85d 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -18,6 +18,7 @@ package main // import "k8s.io/helm/cmd/tiller" import ( "fmt" + "log" "net" "net/http" "os" @@ -70,6 +71,8 @@ var rootCommand = &cobra.Command{ } func main() { + log.SetFlags(log.Flags() | log.Lshortfile) + p := rootCommand.PersistentFlags() p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'")