Enhance debug message
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-event-receiver.c
index 1829789..d4df236 100644 (file)
@@ -1932,9 +1932,11 @@ void _bt_handle_device_event(GVariant *msg, const char *member, const char *path
 
                _bt_convert_device_path_to_address(path, address);
                _bt_convert_addr_string_to_type(bd_addr.addr, address);
+               _bt_convert_addr_string_to_secure_string(secure_address, address);
 
-               BT_DBG("Profile: %s, state: %d addr: %s",
-                       _bt_convert_uuid_to_string(profile_uuid), state, address);
+               BT_INFO_C("[%s] state: %s, addr: %s",
+                       _bt_convert_uuid_to_string(profile_uuid),
+                       _bt_convert_profile_state_to_string(state), secure_address);
 
                if ((strcmp(profile_uuid, A2DP_SINK_UUID) == 0)  &&
                        (state == BT_PROFILE_STATE_CONNECTED)) {