View | Details | Raw Unified | Return to bug 7247
Collapse All | Expand All

(-)a/misc/migration_tools/rebuild_zebra.pl (-5 / +4 lines)
Lines 34-40 my $want_help; Link Here
34
my $as_xml;
34
my $as_xml;
35
my $process_zebraqueue;
35
my $process_zebraqueue;
36
my $do_not_clear_zebraqueue;
36
my $do_not_clear_zebraqueue;
37
my $verbose_logging;
37
my $verbose_logging = 0;
38
my $zebraidx_log_opt = " -v none,fatal,warn ";
38
my $zebraidx_log_opt = " -v none,fatal,warn ";
39
my $result = GetOptions(
39
my $result = GetOptions(
40
    'd:s'           => \$directory,
40
    'd:s'           => \$directory,
Lines 51-57 my $result = GetOptions( Link Here
51
	'x'				=> \$as_xml,
51
	'x'				=> \$as_xml,
52
    'y'             => \$do_not_clear_zebraqueue,
52
    'y'             => \$do_not_clear_zebraqueue,
53
    'z'             => \$process_zebraqueue,
53
    'z'             => \$process_zebraqueue,
54
    'v'             => \$verbose_logging,
54
    'v+'            => \$verbose_logging,
55
);
55
);
56
56
57
57
Lines 96-103 if ($noshadow) { Link Here
96
96
97
#  -v is for verbose, which seems backwards here because of how logging is set
97
#  -v is for verbose, which seems backwards here because of how logging is set
98
#    on the CLI of zebraidx.  It works this way.  The default is to not log much
98
#    on the CLI of zebraidx.  It works this way.  The default is to not log much
99
if ($verbose_logging) {
99
if ($verbose_logging >= 2) {
100
    $zebraidx_log_opt = '';
100
    $zebraidx_log_opt = '-v none,fatal,warn,all';
101
}
101
}
102
102
103
my $use_tempdir = 0;
103
my $use_tempdir = 0;
104
- 

Return to bug 7247