Changeset 3402
- Timestamp:
- 2002-08-26T16:26:56+12:00 (22 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r3085 r3402 144 144 } 145 145 open (FAILLOG, ">$faillog") || die "Couldn't open fail log $faillog\n"; 146 my $faillogname = $faillog; 146 147 $faillog = 'import::FAILLOG'; 147 148 $faillog->autoflush(1); … … 304 305 print $out "*********************************************\n"; 305 306 306 &plugin::write_stats($pluginfo, $statsfile );307 &plugin::write_stats($pluginfo, $statsfile, $faillogname); 307 308 if ($close_stats) { 308 309 close STATS; -
trunk/gsdl/perllib/plugin.pm
r2797 r3402 117 117 # are only output after import.pl - 118 118 sub write_stats { 119 my ($pluginfo, $statshandle ) = @_;119 my ($pluginfo, $statshandle, $faillog) = @_; 120 120 121 121 foreach $plugobj (@$pluginfo) { … … 148 148 print $statshandle "* " . $stats->{'num_not_processed'} . " were rejected."; 149 149 } 150 print $statshandle " See the faillog for a list of rejected documents\n";150 print $statshandle " See $faillog for a list of rejected documents\n"; 151 151 } 152 152 }
Note:
See TracChangeset
for help on using the changeset viewer.