Summary: | rebuild_zebra.pl -v should show all Zebra log output | ||
---|---|---|---|
Product: | Koha | Reporter: | Dobrica Pavlinusic <dpavlin> |
Component: | Searching | Assignee: | 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
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. *** |