Skip to content

RDKB-63303, RDKB-63414 : Move RdkLogger Scripts to Cron#245

Merged
snayak002c merged 2 commits intodevelopfrom
feature/RDKB-63414
Feb 27, 2026
Merged

RDKB-63303, RDKB-63414 : Move RdkLogger Scripts to Cron#245
snayak002c merged 2 commits intodevelopfrom
feature/RDKB-63414

Conversation

@ksures101
Copy link
Contributor

Reason for change: Running the rdklogger scripts as cron jobs instead of background processes when the cron is enabled and running as normal background process when the cron is disabled.
Test Procedure: Check scripts are running in crontab when the cron is enabled.
Priority: P1
Risks: None

Signed-off-by: KavyaChowdahalli_Suresh@comcast.com

Copilot AI review requested due to automatic review settings February 26, 2026 15:09
@ksures101 ksures101 requested review from a team as code owners February 26, 2026 15:09
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 aims to enable rdklogger scripts to run as cron jobs instead of background processes when the cron feature is enabled, as part of tickets RDKB-63303 and RDKB-63414. However, the PR only adds the configuration flag RdkbLogCronEnable to two system defaults files without including the implementation that actually uses this flag.

Changes:

  • Added RdkbLogCronEnable=true flag to system_defaults_bci
  • Added RdkbLogCronEnable=true flag to system_defaults_arm

Reviewed changes

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

File Description
source/scripts/init/defaults/system_defaults_bci Adds RdkbLogCronEnable configuration flag set to true by default
source/scripts/init/defaults/system_defaults_arm Adds RdkbLogCronEnable configuration flag set to true by default

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

Reason for change: Running the rdklogger scripts as cron jobs instead of background processes when the cron is enabled and running as normal background process when the cron is disabled.
Test Procedure: Check scripts are running in crontab when the cron is enabled.
Priority: P1
Risks: None

Signed-off-by: KavyaChowdahalli_Suresh@comcast.com
Copilot AI review requested due to automatic review settings February 27, 2026 20:31
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

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


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

Comment on lines +1504 to +1506

#RdkLogger Cron - RFC flag is enabled by default
$RdkbLogCronEnable=true
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

The new RdkbLogCronEnable syscfg flag is defined here with a default value of true, but it is never read or consumed anywhere in the codebase. The corresponding logic to read this flag via syscfg get RdkbLogCronEnable and conditionally register the rdklogger scripts as cron jobs in service_crond.sh is missing. Without a consumer, this default value definition has no effect and the behavior described in the PR (running rdklogger scripts as cron jobs when cron is enabled) will not be implemented.

Suggested change
#RdkLogger Cron - RFC flag is enabled by default
$RdkbLogCronEnable=true

Copilot uses AI. Check for mistakes.
@snayak002c snayak002c merged commit a190a47 into develop Feb 27, 2026
13 of 14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 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.

3 participants