Ignore:
Timestamp:
2017-02-14T17:43:28+13:00 (7 years ago)
Author:
ak19
Message:

Adding verbosity setting to oaiinfo.pm to reduce debug output on regular runs of building process. The perl filest that use oaiinfo now pass in the verbosity setting to the oaiinfo constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/inexport.pm

    r31191 r31409  
    734734    # Prepare to work with the <collection>/etc/oai-inf.<db> that keeps track
    735735    # of the OAI identifiers with their time stamps and deleted status.   
    736     my $oai_info = new oaiinfo($self->{'config_filename'}, $collectcfg->{'infodbtype'});
     736    my $oai_info = new oaiinfo($self->{'config_filename'}, $collectcfg->{'infodbtype'}, $verbosity);
    737737    my $have_manifest = ($manifest eq '') ? 0 : 1;   
    738738    $oai_info->import_stage($removeold, $have_manifest);
Note: See TracChangeset for help on using the changeset viewer.