feat(tiller): add source file to log entries

pull/1552/head
Adam Reese 8 years ago
parent 915769b311
commit 8740d3eb7f

@ -18,6 +18,7 @@ package main // import "k8s.io/helm/cmd/tiller"
import ( import (
"fmt" "fmt"
"log"
"net" "net"
"net/http" "net/http"
"os" "os"
@ -70,6 +71,8 @@ var rootCommand = &cobra.Command{
} }
func main() { func main() {
log.SetFlags(log.Flags() | log.Lshortfile)
p := rootCommand.PersistentFlags() p := rootCommand.PersistentFlags()
p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") 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'") p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'")

Loading…
Cancel
Save