Skip to content

Commit 1418519

Browse files
authored
UFAL/Fix logging in LogoImportController (#1003)
* fix logging * used formatter for msg
1 parent 558d647 commit 1418519

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dspace-server-webapp/src/main/java/org/dspace/app/rest/ClarinLogoImportController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ public CollectionRest addCollectionLogo(HttpServletRequest request) throws SQLEx
160160
collectionService.addLogo(context, collection, newLogo);
161161
collectionService.update(context, collection);
162162
bitstreamService.update(context, newLogo);
163-
log.error("Logo with id: + " + newLogo.getID() + " was successfully added to collection " +
164-
"with id: " + collection.getID());
163+
log.info("Logo with id: {} was successfully added to collection with id: {}",
164+
newLogo.getID(), collection.getID());
165165

166166
CollectionRest collectionRest = converter.toRest(collection, utils.obtainProjection());
167167
context.commit();

0 commit comments

Comments
 (0)