Add log to debug statistic API
[platform/core/api/connection.git] / src / connection.c
index e5110d8..f1fb3d4 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;