Skip to content

Commit

Permalink
Change logging to debug from warn in 'FileHashStore' and 'FileHashSto…
Browse files Browse the repository at this point in the history
…reLinks' when duplicate object has been encountered
  • Loading branch information
doulikecookiedough committed Nov 13, 2024
1 parent 024b270 commit a71a6bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ protected void move(File source, File target, String entity)
"File moved from: " + sourceFilePath + ", to: " + targetFilePath);

} catch (FileAlreadyExistsException faee) {
logFileHashStore.warn(
logFileHashStore.debug(
"File already exists, skipping request to move object. Source: " + source
+ ". Target: " + target);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public ObjectMetadata storeHardLink(
Files.createLink(objHardLinkPath, filePath);

} catch (FileAlreadyExistsException faee) {
logFileHashStoreLinks.warn("Data object already exists at: " + objHardLinkPath);
logFileHashStoreLinks.debug("Data object already exists at: " + objHardLinkPath);
}

// This method is thread safe and synchronized
Expand Down

0 comments on commit a71a6bf

Please sign in to comment.