# Effectively logging search queries

**URL:** <https://meta.discourse.org/t/effectively-logging-search-queries/63838>\
**Category:** Feature\
**Created:** [2 Giugno 2017, 8:29pm UTC](https://meta.discourse.org/t/effectively-logging-search-queries/63838 "2017-06-02T20:29:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [14 Luglio 2017, 6:34pm UTC](https://meta.discourse.org/t/effectively-logging-search-queries/63838/4 "2017-07-14T18:34:12Z")

</div>

I’ve implemented this mostly as specified in the original post:

[https://github.com/discourse/discourse/commit/97e211f8372993622698aceb3eeb801a150aa9e5](https://github.com/discourse/discourse/commit/97e211f8372993622698aceb3eeb801a150aa9e5)

I also went in and replaced all the mock tests with [integration tests](https://github.com/discourse/discourse/commit/d7f783ffed826b832f43ad438648cc7e74e6f7aa) and added a separate commit for the [clean up](https://github.com/discourse/discourse/commit/6b6ad9391b2c89b4609550a4f2d7222efee888be) job.

---

_[View the full topic](https://meta.discourse.org/t/effectively-logging-search-queries/63838)._
