[Koha-patches] [PATCH] Reduce logging from rebuild_zebra.pl with a command line option

Michael Hafen mdhafen at tech.washk12.org
Tue Sep 30 16:28:57 CEST 2008


This is a good point, I didn't put much thought into which letter I used
for the command line switch.  I used -v because that what zebraidx uses
to alter the logging level.  Some other letter or default logging level
should be used.

I think it would be best, as you say, to have the logging reduced by
default and use the -v command line switch to have more verbose logging.
I'll change that and resubmit.

Thanks.

On Tue, 2008-09-30 at 08:38 -0500, Andrew Moore wrote:
> On Fri, Sep 26, 2008 at 3:17 PM, Michael Hafen <mdhafen at tech.washk12.org> wrote:
> > This adds a command line option, -v, which will reduce the output of
> > zebraidx and cause some print statements to be skipped.
> 
> Hi Michael -
> 
> This is a great idea, but does this seem backwards to you?
> 
> I may be alone, but I think of "-v" as "verbose", and many programs
> output *more* when given the -v flag.
> 
> Does it make sense to print less by default and print more if called with -v?
> Or, perhaps, print less when given another flag, like "-q" for "quiet"?
> 
> It's just a thought, and I'm OK if we leave it as you have suggested.
> 
> Thanks!
> -Andy




More information about the Koha-patches mailing list