report lookup which is used
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 22 Jan 2006 14:27:50 +0000 (14:27 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 22 Jan 2006 14:27:50 +0000 (14:27 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@391 07558da8-63fa-0310-ba24-9fe276d99e06

run.pl

diff --git a/run.pl b/run.pl
index f32337d..c0820af 100755 (executable)
--- a/run.pl
+++ b/run.pl
@@ -107,7 +107,7 @@ while (my ($database, $db_config) = each %{ $config->{databases} }) {
                $log->info("creating new database $database in $db_path");
                rmtree( $db_path ) || $log->warn("can't remove $db_path: $!");
        } else {
-               $log->info("working on $database in $db_path");
+               $log->debug("working on $database in $db_path");
        }
 
        my $db = new WebPAC::Store(
@@ -144,7 +144,7 @@ while (my ($database, $db_config) = each %{ $config->{databases} }) {
 
                my $input_module = $config->{webpac}->{inputs}->{$type};
 
-               $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}'");
 
                my $input_db = new WebPAC::Input(
                        module => $input_module,