From 262d5e38f6d0a3aed81d50011b10021e84189c25 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 2 Sep 2020 19:34:20 +0900 Subject: [PATCH] Add log to debug statistic API Change-Id: I48816b7ba3e97b156c612a3d481b34da8ef0743a --- src/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/connection.c b/src/connection.c index e5110d8..f1fb3d4 100755 --- a/src/connection.c +++ b/src/connection.c @@ -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; -- 2.7.4