[Koha-bugs] [Bug 26310] Allow setting trace_to parameter in Elaasticsearch config

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 17:31:50 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26310

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 109240
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109240&action=edit
Bug 26310: Allow setting trace_to parameter in Elaasticsearch config

For debugging purposes we may wish to see the requests and responses made to
Elasticsearch

To test:
1 - prove -v t/Koha/SearchEngine/Elasticsearch.t
2 - Set <trace_to>Stderr</trace_to> in koha-conf
3 - Restart all
4 - perl misc/search_tools/rebuild_elasticsearch.pl
5 - Note requests are shown
6 - Set
    <trace_to>File</trace_to>
    <trace_to>/var/log/koha/kohadev/plack-error.log</trace_to>
    in koha-conf
7 - Restart all
8 - perl misc/search_tools/rebuild_elasticsearch.pl
9 - Check the plack log and see the ES requests

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list