Bug 7247

Summary: rebuild_zebra.pl -v should show all Zebra log output
Product: Koha Reporter: Dobrica Pavlinusic <dpavlin>
Component: SearchingAssignee: Dobrica Pavlinusic <dpavlin>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: enhancement    
Priority: P3 CC: chris, dpavlin, mtj, paul.poulain, wizzyrea
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 7247 - rebuild_zebra.pl -v should show all Zebra log output
Bug 7247 - rebuild_zebra.pl -v should show all Zebra log output
re-submit patch with --help output changes for -vv
Fixed usage instructions to mention -v -v option
Bug 7247 - rebuild_zebra.pl -v -v should show all Zebra log output
[Signed Off] Bug 7247 - rebuild_zebra.pl -v should show all Zebra log output

Description Dobrica Pavlinusic 2011-11-19 11:06:10 UTC

    
Comment 1 Dobrica Pavlinusic 2011-11-19 11:24:47 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2011-12-02 08:50:29 UTC Comment hidden (obsolete)
Comment 3 Paul Poulain 2011-12-14 16:47:47 UTC
QA comment : Sorry Dobrika, failed QA

misc/migration_tools/rebuild_zebra.pl --help don't show the new option for -v
Please add documentation on print_usage & resubmit, should be OK with doc
Comment 4 Dobrica Pavlinusic 2011-12-14 17:59:30 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2011-12-16 07:08:47 UTC
Hi Dobrica, 
I tested the option and the new help. It states to use -vv for more output. Perhaps I am missing some common syntax here, but you have to type -v -v to make it work, while -vv doesn't. Perhaps we can make the help more clear?
Comment 6 Dobrica Pavlinusic 2011-12-16 10:40:19 UTC Comment hidden (obsolete)
Comment 7 Chris Cormack 2011-12-18 07:51:59 UTC
Hi Dobrica

It looks like you might have accidentally submitted the same patch again? It still says -vv in the help
Comment 8 Dobrica Pavlinusic 2011-12-20 12:04:21 UTC Comment hidden (obsolete)
Comment 9 Liz Rea 2011-12-31 22:23:09 UTC
Created attachment 6993 [details] [review]
[Signed Off] Bug 7247 - rebuild_zebra.pl -v should show all Zebra log output

Currently, -v option resets Zebra log output to default system values.

This produce amount of log specified in system defaults which is usually
too low for debugging.

This change explicitly forces all Zebra log output which create much more
chatter so it triggers with verbosity level 2

Test scenario:
1. pick koha site to reindex
2. use -v -v options to rebuild_zebra.pl to see additional output

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Verified help corrections and  loglevel 2 output vs. loglevel 1 output. No issues found.
Comment 10 Paul Poulain 2012-01-17 16:33:26 UTC
QA comment: none, this time everything seems OK!
Comment 11 Martin Renvoize (ashimema) 2014-03-11 11:47:49 UTC
*** Bug 8493 has been marked as a duplicate of this bug. ***