Skip to content

Rdkb 62887#22

Closed
jayasrikadiyal wants to merge 4 commits intodevelopfrom
rdkb-62887
Closed

Rdkb 62887#22
jayasrikadiyal wants to merge 4 commits intodevelopfrom
rdkb-62887

Conversation

@jayasrikadiyal
Copy link
Copy Markdown

To reduce logging in SNMP module.
https://ccp.sys.comcast.net/browse/RDKB-62887

Reason for change: To fix the issue.
Test Procedure: Tested on RG
Risks: Low
Priority:P2
Signed-off-by:jayasrikadiyala@gmail.com
Reason for change: To fix the issue.
Test Procedure: Tested on RG
Risks: Low
Priority:P2
Signed-off-by:jayasrikadiyala@gmail.com
Reason for change: To fix the issue.
Test Procedure: Tested on RG
Risks: Low
Priority:P2
Signed-off-by:jayasrikadiyala@gmail.com
Copilot AI review requested due to automatic review settings May 1, 2026 21:08
@jayasrikadiyal jayasrikadiyal requested review from a team as code owners May 1, 2026 21:08
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@jayasrikadiyal
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to reduce verbosity in the SNMP module (RDKB-62887) by downgrading several SNMP log statements from Info/Warning to Debug and introducing a local debug header.

Changes:

  • Added ccsp_snmp_debug.h and included it in several SNMP source files.
  • Changed multiple AnscTraceInfo/AnscTraceWarning log statements to AnscTraceDebug.
  • Changed Cosa_GetParamValues() “GET called/success” logs from CcspTraceInfo to CcspTraceDebug.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
source/include/ccsp_snmp_debug.h Introduces an AnscTraceDebug macro override used by SNMP sources.
source/custom/ccsp_snmp_common.c Includes new debug header and downgrades “dest comp not found” logs to Debug.
source/SnmpPlugin/cosa_api.c Downgrades SNMP GET call/success logs from Info to Debug.
source/SnmpPlugin/ccsp_table_helper_control.c Includes new debug header; downgrades a cache-handler registration log to Debug.
source/SnmpPlugin/ccsp_table_helper_access.c Includes new debug header; downgrades “dest comp not found” log to Debug.
source/SnmpPlugin/ccsp_scalar_helper_control.c Includes new debug header; downgrades a cache-handler registration log to Debug.
source/SnmpPlugin/ccsp_scalar_helper_access.c Includes new debug header; downgrades “dest comp not found” log to Debug.
source/SnmpPlugin/ccsp_mib_utilities.c Includes new debug header; downgrades “dest comp not found” log to Debug.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/include/ccsp_snmp_debug.h Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 1, 2026 21:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

} while (0)
#else
#define CCSP_SNMP_DEBUG_TRACE(a) \
do { \
Comment on lines +24 to +30

#ifndef CCSP_SNMP_DEBUG_TRACE
#if defined(CCSP_SNMP_ENABLE_DEBUG_PRINT)
#define CCSP_SNMP_DEBUG_TRACE(a) \
do { \
printf("%s:%d> ", __FUNCTION__, __LINE__); \
printf a; \
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants