Skip to content

Commit

Permalink
Disable tracing maybe enable it with a flag later
Browse files Browse the repository at this point in the history
  • Loading branch information
crufter committed Sep 15, 2016
1 parent b2fe7e8 commit 544c72a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions daemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func (l *Logger) Printf(str string, i ...interface{}) {

func init() {
flag.Parse()
l := Logger{}
cl, err := elastic.NewClient(elastic.SetSniff(false), elastic.SetURL(fmt.Sprintf("http://%v", *esAddr)), elastic.SetTraceLog(&l))
cl, err := elastic.NewClient(elastic.SetSniff(false), elastic.SetURL(fmt.Sprintf("http://%v", *esAddr)))
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 544c72a

Please sign in to comment.