fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

ctags: only include log output for debug (#291)

We have a very large amount of logspam due to enabling info logging. For
example every binary file causes logspam, etc.

+2 -2
+2 -2
ctags/json.go
··· 122 122 func NewParser(bin string) (Parser, error) { 123 123 if strings.Contains(bin, "universal-ctags") { 124 124 opts := goctags.Options{ 125 - Bin: bin, 126 - Info: log.New(os.Stderr, "CTAGS INF: ", log.LstdFlags), 125 + Bin: bin, 127 126 } 128 127 if debug { 128 + opts.Info = log.New(os.Stderr, "CTAGS INF: ", log.LstdFlags) 129 129 opts.Debug = log.New(os.Stderr, "CTAGS DBG: ", log.LstdFlags) 130 130 } 131 131 return &lockedParser{