Bugzilla – Attachment 99460 Details for
Bug 24306
Add debug option to koha-indexer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24306: Add debug switch to koha-indexer
Bug-24306-Add-debug-switch-to-koha-indexer.patch (text/plain), 1.49 KB, created by
David Nind
on 2020-02-22 17:26:57 UTC
(
hide
)
Description:
Bug 24306: Add debug switch to koha-indexer
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-02-22 17:26:57 UTC
Size:
1.49 KB
patch
obsolete
>From 25b4fe89ffa7bc6ea6e8221ddf124e924e531f9c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 24 Dec 2019 13:59:02 +0000 >Subject: [PATCH] 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> >--- > debian/scripts/koha-indexer | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-indexer b/debian/scripts/koha-indexer >index 65b80a63df..62efb1cd85 100755 >--- a/debian/scripts/koha-indexer >+++ b/debian/scripts/koha-indexer >@@ -185,6 +185,9 @@ while [ $# -gt 0 ]; do > --status) > set_action "status" > shift ;; >+ --debug) >+ DEBUG="-v -v" >+ shift ;; > -*) > die "Error: invalid option switch ($1)" ;; > *) >@@ -216,7 +219,7 @@ fi > > if [ -z $INDEXER_PARAMS ]; then > # Default to the parameters required by rebuild_zebra.pl >- INDEXER_PARAMS="-daemon -sleep $INDEXER_TIMEOUT" >+ INDEXER_PARAMS="-daemon -sleep $INDEXER_TIMEOUT $DEBUG" > fi > > # PERL5LIB has been read from etc/default >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24306
:
96621
|
99460
|
107460
|
108073
|
108074
|
108075