Skip to content

Commit dbf524c

Browse files
committed
Fix line length in DSBitstore log
1 parent 31b1c92 commit dbf524c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dspace-api/src/main/java/org/dspace/storage/bitstore/DSBitStoreService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ protected File getFile(Bitstream bitstream) throws IOException {
253253
File bitstreamFile = new File(bufFilename.toString());
254254
Path normalizedPath = bitstreamFile.toPath().normalize();
255255
if (!normalizedPath.startsWith(baseDir.getAbsolutePath())) {
256-
log.error("Bitstream path outside of assetstore root requested: bitstream={}, path={}, assetstore={}", bitstream.getID(), normalizedPath, baseDir.getAbsolutePath());
256+
log.error("Bitstream path outside of assetstore root requested:" +
257+
"bitstream={}, path={}, assetstore={}",
258+
bitstream.getID(), normalizedPath, baseDir.getAbsolutePath());
257259
throw new IOException("Illegal bitstream path constructed");
258260
}
259261
return bitstreamFile;

0 commit comments

Comments
 (0)