Add log to debug statistic API 01/243001/1 accepted/tizen/unified/20200903.151727 submit/tizen/20200902.111409 submit/tizen/20200903.044940
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 2 Sep 2020 10:34:20 +0000 (19:34 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 2 Sep 2020 10:34:33 +0000 (19:34 +0900)
Change-Id: I48816b7ba3e97b156c612a3d481b34da8ef0743a

src/connection.c

index e5110d8d2bb19c6ccb11d5e3dbbc50f09f35d9b6..f1fb3d489f5f09d8a5a85e4c5d11eb6817860b2b 100755 (executable)
@@ -1551,6 +1551,9 @@ static int __get_statistic(connection_handle_s *conn_handle, connection_type_e c
                        return CONNECTION_ERROR_INVALID_PARAMETER;
                }
 
+               CONNECTION_LOG(CONNECTION_INFO, "connection type[%d] statistics type[%d]",
+                               connection_type, statistics_type);
+
                rv  = _connection_libnet_get_statistics(conn_handle, stat_type, &ull_size);
                if (rv == CONNECTION_ERROR_PERMISSION_DENIED)
                        return rv;