Koha-clms/t/db_dependent/Koha
Nick Clemens 55f2279314 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

Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-04 12:59:33 +01:00
..
Account Bug 25596: Identify overpayment refunds for translation 2020-10-26 00:14:41 +01:00
Acquisition Bug 26515: (QA follow-up) Preserve original behaviour 2020-10-15 14:50:07 +02:00
Biblio Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
BiblioUtils Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Cash Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Charges Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Checkouts Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Club Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Config Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Filter Bug 26250: Fix tests when SearchEngine=Elastic 2020-08-31 16:10:26 +02:00
IssuingRules Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Item Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Library Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Objects/Mixin Bug 23994: Fix random failure from AdditionalFields.t (U18) 2019-11-08 09:31:47 +00:00
Patron Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
Patrons Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Plugins Bug 26470: Regression tests 2020-09-18 10:38:01 +02:00
REST Bug 26322: Regression tests 2020-09-29 14:28:18 +02:00
SMTP Bug 26595: Remove password from the smtp_server API object 2020-10-14 15:53:38 +02:00
SearchEngine Bug 26310: Allow setting trace_to parameter in Elaasticsearch config 2020-11-04 12:59:33 +01:00
Subscription Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Tags Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Template/Plugin Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
XSLT Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Z3950Responder Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
Account.t Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
ActionLogs.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ApiKeys.t Bug 26157: Hide expected DBI warnings from tests 2020-08-24 11:19:03 +02:00
Authorities.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
BackgroundJobs.t Bug 22417: Add exec flag on .t file 2020-10-05 16:36:03 +02:00
Biblio.t Bug 25913: Get the correct return of AddBiblio 2020-10-08 11:36:32 +02:00
BiblioFrameworks.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Biblios.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Checkout.t Bug 26327: Add exec flag on .t file 2020-10-14 14:50:07 +02:00
Checkouts.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CirculationRules.t Bug 26529: Unit tests 2020-10-09 13:06:59 +02:00
Cities.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSortRules.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSources.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSplitRules.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CoverImages.t Bug 26145: Add exec flag on .t file 2020-10-12 12:36:27 +02:00
CsvProfiles.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Database.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Desks.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Holds.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
IssuingRules.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Item.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ItemTypes.t Bug 26132: (QA follow-up) Make tests more robust 2020-08-13 10:15:33 +02:00
Items.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
KeyboardShortcuts.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Libraries.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Library.t Bug 26595: Embed the whole smtp_server object 2020-10-14 15:53:38 +02:00
MarcSubfieldStructures.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
News.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Notices.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Object.t Bug 26555: Make sure _messages is always initialized 2020-10-15 14:50:06 +02:00
Objects.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Old.t Bug 26327: Add ->library method to Koha::*Checkout 2020-10-14 14:50:06 +02:00
Patron.t Bug 19382: Adjust comment in test 2020-10-14 14:50:07 +02:00
Patrons.t Bug 26892: Remove warnings from Koha/Patrons.t 2020-11-03 10:57:35 +01:00
Pseudonymization.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Quotes.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Ratings.t Bug 26250: Fix tests when SearchEngine=Elastic 2020-08-31 16:10:26 +02:00
Reports.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Reviews.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SMS_Providers.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SearchField.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SharedContent.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Statistics.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Subscription.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Suggestion.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Suggestions.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Tags.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Z3950Servers.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00