--- trunk/run.pl 2006/05/15 17:38:22 510 +++ trunk/run.pl 2006/05/15 17:49:01 511 @@ -152,10 +152,10 @@ my $db_path = $config->{webpac}->{db_path} . '/' . $database; if ($clean) { - $log->info("creating new database $database in $db_path"); + $log->info("creating new database '$database' in $db_path"); rmtree( $db_path ) || $log->warn("can't remove $db_path: $!"); } else { - $log->debug("working on $database in $db_path"); + $log->info("working on database '$database' in $db_path"); } my $db = new WebPAC::Store( @@ -194,7 +194,7 @@ my $input_module = $config->{webpac}->{inputs}->{$type}; - $log->info("working on input '$input->{path}' [$input->{type}] using $input_module lookup '$input->{lookup}'"); + $log->info("working on input '$input->{name}' in $input->{path} [type: $input->{type}] using $input_module lookup '$input->{lookup}'"); my $input_db = new WebPAC::Input( module => $input_module, @@ -296,8 +296,8 @@ eval { $indexer->finish } if ($indexer && $indexer->can('finish')); my $dt = time() - $start_t; - $log->info("$total_rows records indexed in " . - sprintf("%.2f sec [%.2f rec/sec]", + $log->info("$total_rows records ", $indexer ? "indexed " : "", + sprintf("in %.2f sec [%.2f rec/sec]", $dt, ($total_rows / $dt) ) );