Skip to content

docs: add EdgeCore logging guide#795

Open
Gurkaran18 wants to merge 3 commits into
kubeedge:masterfrom
Gurkaran18:docs/edgecore-logs-issue-6704
Open

docs: add EdgeCore logging guide#795
Gurkaran18 wants to merge 3 commits into
kubeedge:masterfrom
Gurkaran18:docs/edgecore-logs-issue-6704

Conversation

@Gurkaran18
Copy link
Copy Markdown

What type of PR is this?
/kind documentation

What this PR does / why we need it:
This PR introduces the "Checking EdgeCore Logs" troubleshooting guide to the user documentation.

Currently, there is a comprehensive guide for diagnosing CloudCore issues, but users lack a centralized reference for troubleshooting edge-side log anomalies. This document provides symmetry to the documentation by detailing:

  • Expected log locations for EdgeCore (journald vs container runtimes).
  • Exact commands to view, tail, and filter logs.
  • Diagnosing specific failures such as CloudCore connection drops (x509 certificate errors, WebSocket issues), internal MQTT broker (EventBus) failures, and Container Runtime CRI errors.

Which issue(s) this PR fixes:
Fixes #6704

Special notes for your reviewer:
The formatting and tone strictly mirror the recently added cloudcore-logs.md guide to maintain consistency across the troubleshooting section.

@kubeedge-bot kubeedge-bot added kind/documentation Categorizes issue or PR as related to documentation. do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. labels May 7, 2026
@kubeedge-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign wbc6080 after the PR has been reviewed.
You can assign the PR to them by writing /assign @wbc6080 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 7, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new troubleshooting guide for EdgeCore logs, detailing diagnostic steps for various deployment modes and common failure scenarios. The review identified two technical inaccuracies: the nc command for connectivity checks was missing a port, and the documentation for mqttMode configuration values was incorrect. Both issues have been addressed with actionable suggestions.

Comment thread docs/user-guide/troubleshooting/edgecore-logs.md Outdated
Comment thread docs/user-guide/troubleshooting/edgecore-logs.md Outdated
This adds a comprehensive troubleshooting guide for checking EdgeCore
logs during installation failures or runtime issues. This provides
symmetry with the existing CloudCore logging documentation and helps
users quickly diagnose edge-side problems like certificate mismatches,
MQTT broker errors, and container runtime failures.

Signed-off-by: Gurkaran Singh <gurkaranbirsingh@example.com>
@Gurkaran18 Gurkaran18 force-pushed the docs/edgecore-logs-issue-6704 branch from 940c6c7 to 939bd83 Compare May 7, 2026 17:58
@kubeedge-bot kubeedge-bot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label May 7, 2026
- Update nc command to check both 10000 and 10002 ports
- Correct mqttMode configuration value to 0 for internal broker
- Copy English docs to zh i18n directory to resolve broken Docusaurus links

Signed-off-by: Gurkaran Singh <gurkaranbirsingh@example.com>
@kubeedge-bot kubeedge-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 7, 2026
@Gurkaran18
Copy link
Copy Markdown
Author

@anvithks @edisonxiang Gentle ping!

All the CI checks are green and the code review suggestions from the bot have been resolved. Could you please take a look when you have a moment? Thank you!

@@ -0,0 +1,354 @@
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this supposed to be Chinese? cz this is under i18n/zh???

@@ -0,0 +1,270 @@
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here, why we have duplicated edgecore-logs.md where is supposed to be Chinese doc?

@@ -0,0 +1,270 @@
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMO this is very helpful information for end users once something happens to kubeedge system.

my suggestion is we probably improve https://github.com/kubeedge/website/blob/master/docs/faq/setup.md#how-to-check-edgecore-logs with new structure like this PR, instead of creating the whole new section.

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

Labels

kind/documentation Categorizes issue or PR as related to documentation. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants