Skip to content

Test PR#77

Open
gomathishankar37 wants to merge 4 commits intodevelopfrom
fix/rdk_logger_err
Open

Test PR#77
gomathishankar37 wants to merge 4 commits intodevelopfrom
fix/rdk_logger_err

Conversation

@gomathishankar37
Copy link
Contributor

No description provided.

karuna2git and others added 4 commits January 29, 2026 14:13
RDKEMW-12849: Update to print logs to console

Reason for change: RDKLogger sends the output directly to syslog to gain the performance. But the platform components like `rdkfwupdater`, `rfc`, `rdm`, `logupload` & `crashupload`  are spun by scripts and console output are redirected to file manually. So, for these components, we have to configure logger to print to console instead syslog.

Once these components become standalone and launched by systemd service independently, this change can be removed to gain performance.

Test Procedure: Ensure logs from above mentioned components are printed.
Risks: None. In the past also output was redirected; so whatever gained in last 2 weeks is not present anymore.

Signed-off-by: Karunakaran A <karunakaran_amirthalingam@cable.comcast.com>
@gomathishankar37 gomathishankar37 requested a review from a team as a code owner February 5, 2026 07:48
Copilot AI review requested due to automatic review settings February 5, 2026 07:48
Copy link
Contributor

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 updates the RDK logger initialization in the utils module to use the extended logger API with explicit configuration instead of file-based initialization.

Changes:

  • Added rdk_logger.h include to support the new extended logger API
  • Replaced rdk_logger_init(DEBUG_INI_NAME) with rdk_logger_ext_init(&cfg) using explicit configuration parameters
  • Configured logger with INFO level, console output, and detailed timestamp format

Reviewed changes

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

File Description
utils/rdkv_cdl_log_wrapper.h Added include for rdk_logger.h to support extended logger API
utils/rdkv_cdl_log_wrapper.c Migrated from file-based logger initialization to explicit configuration using rdk_logger_ext_init with structured parameters

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants