# search: Remove noisy buffer search logs \(\#38679\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/691bfe71db354c95fbe8ee65909778c60b572774)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 691bfe71db354c95fbe8ee65909778c60b572774

Requested commit: 691bfe71db354c95fbe8ee65909778c60b572774

Commit: 691bfe71db354c95fbe8ee65909778c60b572774

Tree: ef16029639088cd27e595c21785963c96af26e02

Author: tidely

Committer: GitHub

## Message

```
search: Remove noisy buffer search logs (#38679)

Buffer search initiates a new search every time a key is pressed in the
buffer search bar. This would cancel the task associated with any
pending searches. Whenever one of these searches was canceled Zed would
log `[search]: oneshot canceled`. This log would trigger almost on every
keypress when typing moderately fast. This PR silences these logs by not
treating canceled searches as errors.

Release Notes:

- N/A
```

## Parents

- [1d5da685604442376b1baac8df49f35dabbd25ba](https://git.cafe/gitcafe/zed/commit/1d5da685604442376b1baac8df49f35dabbd25ba?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/691bfe71db354c95fbe8ee65909778c60b572774?format=markdown)
