chrsmithdemos / codesearch

Automatically exported from code.google.com/p/codesearch
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

IndexWriter always writes logs #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Would be great to wrap these in if ix.Verbose { ... } and allow for silent use.

In Flush:

  log.Printf("%d data bytes, %d index bytes", ix.totalBytes, ix.main.offset())

In mergePost:

  log.Printf("merge %d files + mem", len(ix.postFile))

Original issue reported on code.google.com by n...@daaku.org on 7 Dec 2012 at 8:08