Problem: there is no insight into queries and searches
Solution: log searches
This commit is contained in:
parent
1606711d98
commit
75914514ec
|
@ -239,6 +239,7 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
})
|
||||
return
|
||||
}
|
||||
log.Printf("Searching for %s in %s (%d results)", query, channel, len(items))
|
||||
respondJSON(w, map[string]interface{}{
|
||||
"query": query,
|
||||
"items": items,
|
||||
|
|
Loading…
Reference in New Issue
Block a user