diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index c5104089..71c7b8c2 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -1420,7 +1420,7 @@ Java_com_tutpro_baresip_Api_contacts_1remove(JNIEnv *env, jobject thiz) { JNIEXPORT void JNICALL Java_com_tutpro_baresip_Api_log_1level_1set(JNIEnv *env, jobject thiz, jint level) { const enum log_level native_level = (enum log_level)level; - LOGD("seting log level '%u'\n", native_level); + LOGD("setting log level to '%u'\n", native_level); log_level_set(native_level); } diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index 9de67ce0..e11b9e73 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -91,7 +91,7 @@ class BaresipService: Service() { ((Build.VERSION.SDK_INT < 23) && (cm.activeNetworkInfo.toString() == cm.getNetworkInfo(network).toString()))) { - Log.d(LOG_TAG, "Active network $network@$interfaceName " + + Log.i(LOG_TAG, "Active network $network@$interfaceName " + " is available: $linkProperties") activeNetwork = "$network" if (isServiceRunning) { @@ -101,7 +101,7 @@ class BaresipService: Service() { linkAddresses = linkProperties.linkAddresses } } else { - Log.d(LOG_TAG, "Non-active network $network@$interfaceName " + + Log.i(LOG_TAG, "Non-active network $network@$interfaceName " + " is available: $linkProperties") } } @@ -152,7 +152,7 @@ class BaresipService: Service() { linkAddresses = linkProperties.linkAddresses } } else { - Log.e(LOG_TAG, "Network $network@$interfaceName " + + Log.d(LOG_TAG, "Network $network@$interfaceName " + " link properties changed: $linkProperties") } }