Copilot commented on code in PR #455: URL: https://github.com/apache/hugegraph-doc/pull/455#discussion_r3044931921
########## content/en/docs/quickstart/hugegraph/hugegraph-pd.md: ########## @@ -116,7 +167,7 @@ In the PD installation directory, execute: After successful startup, you can see logs similar to the following in `logs/hugegraph-pd-stdout.log`: ``` -2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) +2026-xx-xx xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) Review Comment: The log snippet hardcodes the year as `2026-xx-xx`, which will quickly become outdated and can look like a real timestamp. Consider using a year-agnostic placeholder (e.g. `YYYY-mm-dd`) or keeping the generic `2024-xx-xx` style used elsewhere in docs. ```suggestion YYYY-mm-dd xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) ``` ########## content/en/docs/quickstart/hugegraph/hugegraph-hstore.md: ########## @@ -116,7 +160,7 @@ Ensure that the PD service is already started, then in the Store installation di After successful startup, you can see logs similar to the following in `logs/hugegraph-store-server.log`: ``` -2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) +2026-xx-xx xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) Review Comment: The log snippet hardcodes the year as `2026-xx-xx`, which will become stale over time and may be mistaken for a required value. Consider switching to a year-agnostic placeholder (e.g. `YYYY-mm-dd`) for the example timestamp. ```suggestion YYYY-mm-dd xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) ``` ########## content/cn/docs/quickstart/hugegraph/hugegraph-pd.md: ########## @@ -116,7 +166,7 @@ partition: 启动成功后,可以在 `logs/hugegraph-pd-stdout.log` 中看到类似以下的日志: ``` -2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) +2026-xx-xx xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) Review Comment: This log example uses a hardcoded year (`2026-xx-xx`). To avoid the docs becoming time-specific, consider using a neutral placeholder like `YYYY-mm-dd` in the sample timestamp. ```suggestion YYYY-mm-dd xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx) ``` ########## content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md: ########## @@ -116,7 +160,7 @@ logging: 启动成功后,可以在 `logs/hugegraph-store-server.log` 中看到类似以下的日志: ``` -2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) +2026-xx-xx xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) Review Comment: 示例日志里写死了年份(`2026-xx-xx`),文档会很快过期且容易让读者误以为需要匹配该时间格式。建议改成与年份无关的占位符(如 `YYYY-mm-dd`)。 ```suggestion YYYY-mm-dd xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
