From 22ffb656be0cb7e047871e60da9ad68421ff0896 Mon Sep 17 00:00:00 2001 From: Denny Sheirer Date: Mon, 20 Feb 2023 12:10:17 -0500 Subject: [PATCH] #1464 Reduces logging when SDRplay API is not installed on local machine. (#1465) Co-authored-by: Dennis Sheirer --- .../github/dsheirer/source/tuner/sdrplay/api/SDRplay.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/github/dsheirer/source/tuner/sdrplay/api/SDRplay.java b/src/main/java/io/github/dsheirer/source/tuner/sdrplay/api/SDRplay.java index 66f9bf24..9ac5be84 100644 --- a/src/main/java/io/github/dsheirer/source/tuner/sdrplay/api/SDRplay.java +++ b/src/main/java/io/github/dsheirer/source/tuner/sdrplay/api/SDRplay.java @@ -170,7 +170,7 @@ public class SDRplay } catch(Throwable t) { - mLog.error("Unable to load SDRplay API library from default install path. Loading from java system library path", t); + mLog.error("Unable to load SDRplay API library from default install path. Loading from java system library path"); try { @@ -186,7 +186,7 @@ public class SDRplay mLog.warn("SDRPlay API library not found/installed on this system. Ensure the API is installed either " + "in the default install location or the install location is included in the " + "'java.library.path' JVM property contains path to the library file [" + name + - "]. Current library path property contents: " + System.getProperty(JAVA_LIBRARY_PATH_KEY), t); + "]. Current library path property contents: " + System.getProperty(JAVA_LIBRARY_PATH_KEY)); } } } @@ -571,7 +571,7 @@ public class SDRplay catch(Exception e) { closeStatus = Status.FAIL; - mLog.error("Error closing SDRPlay API", e); + mLog.error("Error closing SDRPlay API"); } mSdrplayLibraryLoaded = false;