replaced some ERROR tag with DEBUG
authorjihwan.seo <jihwan.seo@samsung.com>
Thu, 10 Sep 2015 01:45:36 +0000 (10:45 +0900)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Thu, 10 Sep 2015 16:02:15 +0000 (16:02 +0000)
this log is giving some confusion.

Change-Id: I9a31bdc287bd8742213e1bcee26f19edabfeea97
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2437
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/connectivity/src/caconnectivitymanager.c

index ab9f35ac3973d46d1b4d7a60543b07c65afa6aa6..aa5f64a42a713d186e227bdb1b0d2c459110d293 100644 (file)
@@ -235,25 +235,25 @@ CAResult_t CASelectNetwork(CATransportAdapter_t interestedNetwork)
     if (interestedNetwork & CA_ADAPTER_IP)
     {
         res = CAAddNetworkType(CA_ADAPTER_IP);
-        OIC_LOG_V(ERROR, TAG, "CAAddNetworkType(CA_IP_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CAAddNetworkType(CA_IP_ADAPTER) function returns result: %d", res);
     }
     else if (interestedNetwork & CA_ADAPTER_RFCOMM_BTEDR)
     {
         res = CAAddNetworkType(CA_ADAPTER_RFCOMM_BTEDR);
-        OIC_LOG_V(ERROR, TAG, "CAAddNetworkType(CA_RFCOMM_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CAAddNetworkType(CA_RFCOMM_ADAPTER) function returns result : %d", res);
     }
     else if (interestedNetwork & CA_ADAPTER_GATT_BTLE)
     {
         res = CAAddNetworkType(CA_ADAPTER_GATT_BTLE);
-        OIC_LOG_V(ERROR, TAG, "CAAddNetworkType(CA_GATT_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CAAddNetworkType(CA_GATT_ADAPTER) function returns result : %d", res);
     }
 
 #ifdef RA_ADAPTER
     else if (interestedNetwork & CA_ADAPTER_REMOTE_ACCESS)
     {
         res = CAAddNetworkType(CA_ADAPTER_REMOTE_ACCESS);
-        OIC_LOG_V(ERROR, TAG, "CAAddNetworkType(CA_ADAPTER_REMOTE_ACCESS) function returns error : %d",
-                                                                    res);
+        OIC_LOG_V(DEBUG, TAG,
+                  "CAAddNetworkType(CA_ADAPTER_REMOTE_ACCESS) function returns result : %d", res);
     }
 #endif
     else
@@ -277,23 +277,23 @@ CAResult_t CAUnSelectNetwork(CATransportAdapter_t nonInterestedNetwork)
     if (nonInterestedNetwork & CA_ADAPTER_IP)
     {
         res = CARemoveNetworkType(CA_ADAPTER_IP);
-        OIC_LOG_V(ERROR, TAG, "CARemoveNetworkType(CA_IP_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CARemoveNetworkType(CA_IP_ADAPTER) function returns result : %d", res);
     }
     else if (nonInterestedNetwork & CA_ADAPTER_RFCOMM_BTEDR)
     {
         res = CARemoveNetworkType(CA_ADAPTER_RFCOMM_BTEDR);
-        OIC_LOG_V(ERROR, TAG, "CARemoveNetworkType(CA_RFCOMM_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CARemoveNetworkType(CA_RFCOMM_ADAPTER) function returns result : %d", res);
     }
     else if (nonInterestedNetwork & CA_ADAPTER_GATT_BTLE)
     {
         res = CARemoveNetworkType(CA_ADAPTER_GATT_BTLE);
-        OIC_LOG_V(ERROR, TAG, "CARemoveNetworkType(CA_GATT_ADAPTER) function returns error : %d", res);
+        OIC_LOG_V(DEBUG, TAG, "CARemoveNetworkType(CA_GATT_ADAPTER) function returns result : %d", res);
     }
 #ifdef RA_ADAPTER
     else if (nonInterestedNetwork & CA_ADAPTER_REMOTE_ACCESS)
     {
         res = CARemoveNetworkType(CA_ADAPTER_REMOTE_ACCESS);
-        OIC_LOG_V(ERROR, TAG, "CARemoveNetworkType(CA_ADAPTER_REMOTE_ACCESS) function returns error : %d",
+        OIC_LOG_V(DEBUG, TAG, "CARemoveNetworkType(CA_ADAPTER_REMOTE_ACCESS) function returns result : %d",
                                                 res);
     }
 #endif