Skip to content

Commit c94f553

Browse files
committed
Updated logging TAG in PythonUtil.java
1 parent 9afdc77 commit c94f553

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android/PythonUtil.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
public class PythonUtil {
9-
private static final String TAG = "PythonUtil";
9+
private static final String TAG = "pythonutil";
1010

1111
protected static String[] getLibraries() {
1212
return new String[] {
@@ -27,7 +27,7 @@ public static void loadLibraries(File filesDir) {
2727
boolean foundPython = false;
2828

2929
for (String lib : getLibraries()) {
30-
Log.v("python", "Loading library: " + lib);
30+
Log.v(TAG, "Loading library: " + lib);
3131
try {
3232
System.loadLibrary(lib);
3333
if (lib.startsWith("python")) {
@@ -37,13 +37,13 @@ public static void loadLibraries(File filesDir) {
3737
// If this is the last possible libpython
3838
// load, and it has failed, give a more
3939
// general error
40-
Log.v("python", "Library loading error: " + e.getMessage());
40+
Log.v(TAG, "Library loading error: " + e.getMessage());
4141
if (lib.startsWith("python3.6") && !foundPython) {
4242
throw new java.lang.RuntimeException("Could not load any libpythonXXX.so");
4343
} else if (lib.startsWith("python")) {
4444
continue;
4545
} else {
46-
Log.v("python", "An UnsatisfiedLinkError occurred loading " + lib);
46+
Log.v(TAG, "An UnsatisfiedLinkError occurred loading " + lib);
4747
throw e;
4848
}
4949
}

0 commit comments

Comments
 (0)