New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple query logging for debugging #3041
Conversation
+1 |
6 similar comments
👍 |
+1 |
+1 |
+1 |
+1 |
+1 |
where should we put that in the logging.yml file? and where does it log to? |
@bigerock This issue is a pull request, so it is not yet (if ever) incorporated into Elasticsearch. |
thanks @brusic. i just had realized that. doh! if i understood compiling java i suppose i could download the changed files and merge and compile them? |
The pull request at this point a year old and based on the 1.0.0.Beta1-SNAPSHOT branch. There might be some merge conflicts. You could checkout Jorg's fork and try to merge the branch and see what happens! Another option is to enable slow logs and basically set the threshold to 0ms: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-slowlog.html |
thanks - that enable slow logs is much easier. very much appreciated!! |
https://github.com/etsy/es-restlog is a plugin for logging requests that might be useful for folks. |
Hi Elasticsearch team,
some users want simple query logging, so I added some debug statements. By adding a line "search: DEBUG" in logging.yml, the node requested should output some information about query execution and the JSON source.