Skip to content

Commit

Permalink
fix some logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb committed Sep 11, 2023
1 parent 2d36dd7 commit df00fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/emissary/jni/JNI.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public JNI(@Nullable final String theDir, final Configurator configG) {
try {
this.theDir = (IDirectoryPlace) Namespace.lookup(theDir);
} catch (NamespaceException ne) {
logger.debug("Cannot get directory using {}: {}", theDir, ne);
logger.debug("Cannot get directory using {}: {}", theDir, ne.getLocalizedMessage());
}
}

Expand Down Expand Up @@ -276,7 +276,7 @@ public void loadLibrary(final String lib) {
System.load(fullPathName);
logger.debug("LINK SUCCESS for {}", fullPathName);
} catch (UnsatisfiedLinkError e) {
logger.debug("Unable to link retrieved {}:{}", fullPathName, e);
logger.debug("Unable to link retrieved {}:{}", fullPathName, e.getLocalizedMessage());

// We have done all we can. Throw an exception and return
throw (new UnsatisfiedLinkError("Cannot link with retrieved library " + fullPathName + ":" + e));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/emissary/pickup/PickUpPlace.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected void configurePickUpPlace() {
logger.info("Alert: Completed data will be deleted from the system due to DONE_AREA setting");
}

logger.debug("Pickup Canonical HOLD => {}, Pickup Canonical DONE => {}, Pickup Canonical ERROR => {}" + holdingArea, doneArea, errorArea);
logger.debug("Pickup Canonical HOLD => {}, Pickup Canonical DONE => {}, Pickup Canonical ERROR => {}", holdingArea, doneArea, errorArea);

initialFormValues = configG.findEntries("INITIAL_FORM");
if (initialFormValues.size() < 1) {
Expand Down

0 comments on commit df00fc3

Please sign in to comment.