Skip to content

Commit

Permalink
only log every 100 draft files
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Jul 28, 2023
1 parent 5d53918 commit 502bd70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,9 @@ public Response registerDataFileAll(@Context ContainerRequestContext crc) {
}
} else {
draft++;
logger.info(draft + " of " + count + " files not yet published");
if (draft % 100 == 0) {
logger.info(draft + " of " + count + " files not yet published");
}
}
} else {
alreadyRegistered++;
Expand Down

0 comments on commit 502bd70

Please sign in to comment.