- Minor logging changes.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user