Merge pull request #1552 from adamreese/feat/detailed-log

feat(tiller): add source file to log entries
pull/1555/head
Adam Reese 8 years ago committed by GitHub
commit ae88a01a40

@ -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