Skip to content

add node logging documentation. - #372

Open
GrothenDI wants to merge 1 commit into
tronprotocol:masterfrom
abn2357:align_logging_with_v4.8.2
Open

add node logging documentation.#372
GrothenDI wants to merge 1 commit into
tronprotocol:masterfrom
abn2357:align_logging_with_v4.8.2

Conversation

@GrothenDI

Copy link
Copy Markdown

Summary

  • add the Chinese translation of the node logging guide
  • document application logs, JVM garbage-collection logs, Logback routing, Prometheus metric behavior, and troubleshooting configuration
  • update the Chinese logging FAQ and add the guide to the site navigation

Why

The Chinese documentation is the translated counterpart of the English documentation. This change keeps the node logging guidance aligned across both repositories and replaces outdated FAQ instructions.

Impact

Chinese-speaking node operators receive the same logging guidance as readers of the English documentation, with configuration names and Logback terminology preserved for direct comparison with logback.xml.

Validation

  • mkdocs build --strict
  • git diff --check
  • translation reviewed against the English source and local java-tron implementation

@GrothenDI
GrothenDI marked this pull request as ready for review August 12, 2026 09:02
Comment thread docs/faq/index.md
#### 如何将节点日志输出到 stdout

步骤如下:
以节点所运行的同一 java-tron 版本内置的 `logback.xml` 为起点。当前版本的参考文件为 [`framework/src/main/resources/logback.xml`](https://github.com/tronprotocol/java-tron/blob/master/framework/src/main/resources/logback.xml)。

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.

“The current reference file is ...” may be misleading because the link points to the moving master branch rather than a specific “current version.” Could we clarify the branch and version selection while preserving the surrounding context? Suggested wording:

“Start with the logback.xml that matches the running java-tron version. The [logback.xml](https://github.com/tronprotocol/java-tron/blob/master/framework/src/main/resources/logback.xml) linked here is from the master branch; to view the file for a released version, select the corresponding release tag.”

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.

3 participants