Project

General

Profile

« Previous | Next » 

Revision 2765

Change the maximum code level reported to the site contact from "info" to "notice". This is to reduce the amount of diagnostic output generated in the email reports to the site contact. Diagnositcs of type "error", "warning", and "notice" will be sent to the site contact, while messages of type "info" and "debug" will not (but they will still be sent to the Harvester Administrator).

View differences:

src/edu/ucsb/nceas/metacat/harvesterClient/HarvestSiteSchedule.java
532 532
    PrintStream body;
533 533
    String from = harvester.harvesterAdministrator;
534 534
    String[] fromArray;
535
    String maxCodeLevel = "info";
535
    String maxCodeLevel = "notice";
536 536
    MailMessage msg;
537 537
    int nErrors = 0;
538 538
    String subject = "Report from Metacat Harvester: " + harvester.timestamp;

Also available in: Unified diff