Bug 24306: Add debug switch to koha-indexer
authorNick Clemens <nick@bywatersolutions.com>
Tue, 24 Dec 2019 13:59:02 +0000 (13:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 05:55:44 +0000 (07:55 +0200)
commit510ee8a1a38ee18fc38ff33c6351798aa656d814
tree8fcd04c7f78d3de6b92205b3810da318bb6bbd1b
parentd09fbb284b50d12783f76fd58400d093f84ce159
Bug 24306: Add debug switch to koha-indexer

This raises the debug level a lot, it it a bit overwhelming, but may be useful in debugging indexing issues

To test:
1 - Apply patches
2 - sudo koha-indexer --stop instance
3 - sudo debian/scripts/koha-indexer --start --debug instance
4 - tail -f /var/log/koha/instance/indexer-output.log
5 - Note you get a listing that nothign in the queue
6 - Go to staff client and make a change to a record
7 - Note the logs have tons of info

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/scripts/koha-indexer