Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ public void trackBitstreamDownload(Context context, HttpServletRequest request,

List<Item> items = clarinItemService.findByBitstreamUUID(context, bit.getID());
if (CollectionUtils.isEmpty(items)) {
log.error("Cannot find the Item for the bitstream with ID: " + bit.getID() +
" - the statistics cannot be logged.");
return;
}

Expand Down
2 changes: 1 addition & 1 deletion dspace/config/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
type='RollingFile'
fileName='${log.dir}/file_downloads.log'>
<Layout type='PatternLayout'
pattern='%m%n'/>
pattern='%d %m%n'/>
<policies>
<policy type='TimeBasedTriggeringPolicy'>yyyy-MM-dd</policy>
</policies>
Expand Down