107 |
$log->info("creating new database $database in $db_path"); |
$log->info("creating new database $database in $db_path"); |
108 |
rmtree( $db_path ) || $log->warn("can't remove $db_path: $!"); |
rmtree( $db_path ) || $log->warn("can't remove $db_path: $!"); |
109 |
} else { |
} else { |
110 |
$log->info("working on $database in $db_path"); |
$log->debug("working on $database in $db_path"); |
111 |
} |
} |
112 |
|
|
113 |
my $db = new WebPAC::Store( |
my $db = new WebPAC::Store( |
144 |
|
|
145 |
my $input_module = $config->{webpac}->{inputs}->{$type}; |
my $input_module = $config->{webpac}->{inputs}->{$type}; |
146 |
|
|
147 |
$log->info("working on input $input->{path} [$input->{type}] using $input_module"); |
$log->info("working on input '$input->{path}' [$input->{type}] using $input_module lookup '$input->{lookup}'"); |
148 |
|
|
149 |
my $input_db = new WebPAC::Input( |
my $input_db = new WebPAC::Input( |
150 |
module => $input_module, |
module => $input_module, |