Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Commit 544c72a

Browse files
committed
Disable tracing maybe enable it with a flag later
1 parent b2fe7e8 commit 544c72a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎daemon/main.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ func (l *Logger) Printf(str string, i ...interface{}) {
4242

4343
func init() {
4444
flag.Parse()
45-
l := Logger{}
46-
cl, err := elastic.NewClient(elastic.SetSniff(false), elastic.SetURL(fmt.Sprintf("http://%v", *esAddr)), elastic.SetTraceLog(&l))
45+
cl, err := elastic.NewClient(elastic.SetSniff(false), elastic.SetURL(fmt.Sprintf("http://%v", *esAddr)))
4746
if err != nil {
4847
panic(err)
4948
}

0 commit comments

Comments
 (0)