Skip to content

Commit

Permalink
Removing unwanted logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Nov 4, 2024
1 parent cc79e10 commit 273fe20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ protected AuthorityAnalyzer(BibliographicRecord bibliographicRecord, AuthoritySt
* @return The number of authority fields processed
*/
public int process() {
logger.info(() -> "Running authority analysis on record " + bibliographicRecord.getId(true));

Map<AuthorityCategory, Integer> categoryCounter = new EnumMap<>(AuthorityCategory.class);
var count = 0;
for (Map.Entry<DataField, AuthorityCategory> entry : bibliographicRecord.getAuthorityFieldsMap().entrySet()) {
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/de/gwdg/metadataqa/marc/cli/SerialScore.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void processRecord(BibliographicRecord bibliographicRecord, int recordNum

MarcRecord marcRecord = (MarcRecord) bibliographicRecord;
if (!marcRecord.getType().equals(MarcLeader.Type.CONTINUING_RESOURCES)) {
logger.info("Skipping non-serial record: " + marcRecord.getId());
// logger.info("Skipping non-serial record: " + marcRecord.getId());
return;
}

Expand All @@ -137,10 +137,10 @@ public void processRecord(BibliographicRecord bibliographicRecord, int recordNum

MarcSerial serial;
if (marcRecord instanceof Marc21Record) {
logger.info("Processing MARC21 serial record: " + marcRecord.getId());
// logger.info("Processing MARC21 serial record: " + marcRecord.getId());
serial = new Marc21Serial((Marc21Record) marcRecord);
} else {
logger.info("Processing UNIMARC serial record: " + marcRecord.getId());
// logger.info("Processing UNIMARC serial record: " + marcRecord.getId());
serial = new UnimarcSerial((UnimarcRecord) marcRecord);
}

Expand Down

0 comments on commit 273fe20

Please sign in to comment.