Feature/filter unchanged processor

I’ll remove the logging messages (unless you think it makes sense to leave them in place).

From: Jeffrey Licht [mailto:notifications@github.com]
Sent: Wednesday, November 19, 2014 16:01
To: harvard-library/librarycloud_ingest
Cc: Renaud Holcombe
Subject: Re: [librarycloud_ingest] Feature/filter unchanged processor (#25)


In src/main/java/edu/harvard/libcomm/pipeline/FilterUnchangedProcessor.java:

> +

> +     @Autowired

> +     private IngestDAO ingestDao;

> +

> +

> +     public void processMessage(LibCommMessage libCommMessage) throws Exception {

> +            String recids = "0";

> +            libCommMessage.setCommand("ENRICH");

> +            try {

> +                    recids = MessageUtils.transformPayloadData(libCommMessage,"src/main/resources/recids-MODS-checksum.xsl",null);

> +            } catch (Exception e) {

> +                    log.info(e);

> +                    log.error("Could not transform record from MARC to MODS");

> +                    throw e;

> +            }

> +            log.info("RecIds Result:" + recids);

Use log.debug()

—
Reply to this email directly or view it on GitHub<https://github.com/harvard-library/librarycloud_ingest/pull/25/files#r20607027>.