Created attachment 6346 [details] [review] 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
Created attachment 6515 [details] [review] 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: Chris Cormack <chrisc@catalyst.net.nz>
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
Created attachment 6793 [details] [review] re-submit patch with --help output changes for -vv
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?
Created attachment 6833 [details] [review] Fixed usage instructions to mention -v -v option Thanks Katrin for catching this one. It seems that Getopt::Long option bundling doesn't work for same option.
Hi Dobrica It looks like you might have accidentally submitted the same patch again? It still says -vv in the help
Created attachment 6887 [details] [review] Bug 7247 - rebuild_zebra.pl -v -v should show all Zebra log output My git --amend foo failed me and I forgot to add file.
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.
QA comment: none, this time everything seems OK!
*** Bug 8493 has been marked as a duplicate of this bug. ***