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; |
Lines 639-644
Parameters:
Link Here
|
639 |
|
639 |
|
640 |
-v increase the amount of logging. Normally only |
640 |
-v increase the amount of logging. Normally only |
641 |
warnings and errors from the indexing are shown. |
641 |
warnings and errors from the indexing are shown. |
|
|
642 |
Use log level 2 (-vv) to include all Zebra logs. |
642 |
|
643 |
|
643 |
-munge-config Deprecated option to try |
644 |
-munge-config Deprecated option to try |
644 |
to fix Zebra config files. |
645 |
to fix Zebra config files. |
645 |
- |
|
|