Skip to content

Instantly share code, notes, and snippets.

@tmonk42
Created July 7, 2014 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmonk42/8e5a82a698319c799883 to your computer and use it in GitHub Desktop.
Save tmonk42/8e5a82a698319c799883 to your computer and use it in GitHub Desktop.
debug output on build of fad75b8
Sanitized IPs/hostnames, HITS has 1,000 items in it similar to the snippet below.
DEBUG [2014-07-07 22:41:16,587] New I/O worker #15 - org.spootnik.cyanite.http - got request: {:remote-addr X.X.X.X, :params {:query *}, :headers {user-agent python-requests/2.3.0 CPython/3.4.1 Linux/2.6.32-358.6.2.el6.x86_64, accept-encoding gzip, deflate, accept */*, host X.X.X.X:8080}, :server-port 8080, :content-length nil, :keep-alive? true, :content-type nil, :character-encoding nil, :action :paths, :uri /paths, :server-name foo.example.com, :query-string query=%2A, :body nil, :scheme :http, :request-method :get}
DEBUG [2014-07-07 22:41:16,587] New I/O worker #15 - org.spootnik.cyanite.http - query now: *
INFO [2014-07-07 22:41:16,754] New I/O worker #15 - org.spootnik.cyanite.es_path - HITS: ({:_version -1, :_score 1.0, :_id TEST.164, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.164, :leaf true, :depth 2}} {:_version -1, :_score 1.0, :_id TEST.169, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.169, :leaf true, :depth 2}} {:_version -1, :_score 1.0, :_id TEST.171, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.171, :leaf true, :depth 2}} {:_version -1, :_score 1.0, :_id TEST.176, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.176, :leaf true, :depth 2}} {:_version -1, :_score 1.0, :_id TEST.183, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.183, :leaf true, :depth 2}} {:_version -1, :_score 1.0, :_id TEST.188, :_type path, :_index cyanite_paths, :_source {:tenant , :path TEST.188, :leaf true, :depth 2}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment