Skip to content

Commit

Permalink
[rust] Change loging level to debug (#3336)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 authored Jul 12, 2024
1 parent 0a92db8 commit 4b4d605
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ private static boolean copyJniLibraryFromClasspath(

for (String libName : libs) {
String libPath = "native/lib/" + classifier + "/" + flavor + "/" + libName;
if (ClassLoaderUtils.getResource(libPath) == null) {
logger.info("library not found in classpath: {}", libPath);
return false;
}
logger.info("Extracting {} to cache ...", libPath);
try (InputStream is = ClassLoaderUtils.getResourceAsStream(libPath)) {
Path target = tmp.resolve(libName);
Expand Down

0 comments on commit 4b4d605

Please sign in to comment.