qcacmn: Utils: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.
Change-Id: I27ca212113513b15f159aa26da67e03bd3a73a9a
CRs-Fixed: 2017427
diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c
index 30b3f70..6285d55 100644
--- a/utils/logging/src/wlan_logging_sock_svc.c
+++ b/utils/logging/src/wlan_logging_sock_svc.c
@@ -713,7 +713,7 @@
&indicator, &reason_code, &recovery_needed);
/* Error on purpose, so that it will get logged in the kmsg */
- LOGGING_TRACE(QDF_TRACE_LEVEL_ERROR,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
"%s: Sending flush done to userspace", __func__);
wlan_report_log_completion(is_fatal, indicator, reason_code);
@@ -1301,7 +1301,7 @@
pd_hdr.type = type;
- LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
"fate Tx-Rx %s: type: %d", __func__, type);
wlan_pkt_stats_to_logger_thread(&pktlog_hdr, &pd_hdr, NULL);
@@ -1328,7 +1328,7 @@
gtx_count = 0;
grx_count = 0;
} else
- LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
"%s: deregistered packetdump already", __func__);
}
@@ -1347,7 +1347,7 @@
{
if (gtx_count == MAX_NUM_PKT_LOG ||
grx_count == MAX_NUM_PKT_LOG) {
- LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
"%s gtx_count: %d grx_count: %d deregister packetdump",
__func__, gtx_count, grx_count);
wlan_deregister_txrx_packetdump();