replace some error log with debug log.
authorjihwan.seo <jihwan.seo@samsung.com>
Fri, 16 Dec 2016 07:08:47 +0000 (16:08 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 23 Dec 2016 04:58:12 +0000 (04:58 +0000)
some log can create some confusion.
because these log are not error cases generally.

Change-Id: I8fd932ee5df707d00db4c7f9662f323697476f78
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15749
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c
resource/csdk/connectivity/util/src/camanager/bt_le_manager/android/caleconnectionmanager.c

index daf5909..14c7d3d 100644 (file)
@@ -3872,7 +3872,7 @@ bool CALEClientIsValidState(const char* remoteAddress, uint16_t state_type,
     CALEState_t* state = CALEClientGetStateInfo(remoteAddress);
     if (NULL == state)
     {
-        OIC_LOG(ERROR, TAG, "state is null");
+        OIC_LOG(DEBUG, TAG, "state is not updated yet");
         oc_mutex_unlock(g_deviceStateListMutex);
         return false;
     }
index 70cdb80..f57aa45 100644 (file)
@@ -500,7 +500,8 @@ Java_org_iotivity_ca_CaLeClientInterface_caManagerLeServicesDiscoveredCallback(J
     {
         if (!g_connectedDeviceSet)
         {
-            OIC_LOG(ERROR, TAG, "g_connectedDeviceSet is null");
+            OIC_LOG(INFO, TAG, "g_connectedDeviceSet is needed for CM. "
+                    "please call CAManagerLEClientInitialize");
             return;
         }