#1464 Reduces logging when SDRplay API is not installed on local machine. (#1465)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
Denny Sheirer
2023-02-20 12:10:17 -05:00
committed by GitHub
parent de80d2a6c1
commit 22ffb656be

View File

@@ -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;