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

Configure Feed

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

indexserver: write errors of vacuum to error log (#848)

This switches the logs for vacuum from debug to error, which matches
what we do for merging.

Test plan:
N/A

+3 -3
+3 -3
cmd/zoekt-sourcegraph-indexserver/cleanup.go
··· 409 409 path := filepath.Join(s.IndexDir, fn) 410 410 info, err := os.Stat(path) 411 411 if err != nil { 412 - debug.Printf("vacuum stat failed: %v", err) 412 + log.Printf("vacuum stat failed: %v", err) 413 413 continue 414 414 } 415 415 ··· 422 422 }) 423 423 424 424 if err != nil { 425 - debug.Printf("failed to explode compound shard %s: %s", path, string(b)) 425 + log.Printf("failed to explode compound shard %s: %s", path, string(b)) 426 426 } 427 427 continue 428 428 } ··· 432 432 }) 433 433 434 434 if err != nil { 435 - debug.Printf("error while removing tombstones in %s: %s", fn, err) 435 + log.Printf("error while removing tombstones in %s: %s", fn, err) 436 436 } 437 437 } 438 438 }