Skip to content

Commit

Permalink
#7003 Fix log formatting and in particular the OAI URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMa87 committed Jun 18, 2020
1 parent 6f2f22f commit a4b338a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,12 @@ public void logGetRecord(Logger hdLogger, OaiHandler oaiHandler, String identifi
public void logGetRecordException(Logger hdLogger, OaiHandler oaiHandler, String identifier, Throwable e) {
String errMessage = "Exception processing getRecord(), oaiUrl="
+oaiHandler.getBaseOaiUrl()
+",identifier="
+", identifier="
+identifier
+" "
+", "
+e.getClass().getName()
//+" (exception message suppressed)";
+" "
+", "
+e.getMessage();

hdLogger.log(Level.SEVERE, errMessage);
Expand Down

0 comments on commit a4b338a

Please sign in to comment.