Unset the logger when JNI unloads.