Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Remove debug logging, it floods the output.
Browse files Browse the repository at this point in the history
  • Loading branch information
lolepezy committed Nov 28, 2018
1 parent d4f4996 commit 553d22a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private byte[] fetchContent(URI uri, Specification<byte[]> fileContentSpecificat
@Override
public void prefetch(URI uri, ValidationResult result) {
if (uriCache.contains(uri)) {
LOG.debug("rsync cache hit for URI " + uri);
// LOG.debug("rsync cache hit for URI " + uri);
return;
}

Expand All @@ -129,7 +129,7 @@ public void prefetch(URI uri, ValidationResult result) {

private void fetchFile(URI uri, File destinationFile, ValidationResult result) {
if (uriCache.contains(uri)) {
LOG.debug("rsync cache hit for URI " + uri);
// LOG.debug("rsync cache hit for URI " + uri);
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ protected void logResults(URI uri, ValidationResult result) {
for (ValidationCheck check: result.getAllValidationChecksForLocation(new ValidationLocation(uri))) {
String message = uri + ": " + ValidationMessage.getMessage(check);
if (check.isOk()) {
if (logValidObjects) {
LOG.debug(check.getStatus() + "->" + message);
}
// if (logValidObjects) {
// LOG.debug(check.getStatus() + "->" + message);
// }
} else {
LOG.error(check.getStatus() + "->" + message);
}
Expand Down

0 comments on commit 553d22a

Please sign in to comment.