client/android: reset debug level to default
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Mon, 22 Jun 2015 10:09:18 +0000 (12:09 +0200)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Mon, 22 Jun 2015 17:23:58 +0000 (19:23 +0200)
* WLOG debug level was hard coded to DEBUG which generates a lot of
  noise
* remove indecent and unneeded debug message

client/Android/FreeRDPCore/jni/android_freerdp.c

index f658e90..b1fb5fd 100644 (file)
@@ -677,7 +677,6 @@ JNIEXPORT jint JNICALL jni_freerdp_new(JNIEnv *env, jclass cls)
                freerdp_free(instance);
                instance = NULL;
        }
-       WLog_SetLogLevel(WLog_GetRoot(), WLOG_DEBUG);
 
        return (jint) instance;
 }
@@ -717,7 +716,6 @@ JNIEXPORT jboolean JNICALL jni_freerdp_disconnect(JNIEnv *env, jclass cls, jint
        androidContext* ctx = (androidContext*)inst->context;
        ANDROID_EVENT* event = (ANDROID_EVENT*)android_event_disconnect_new();
        DEBUG_ANDROID("DISCONNECT!");
-       WLog_ERR(ANDROID_TAG, "Disconnect shit");
 
        assert(inst);
        assert(ctx);