How to Check Detailed Error Information in TiCDC

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: ticdc 怎么查看具体错误信息

| username: TiDBer_8mpI7QNz

[Test Environment for TiDB]
[TiDB Version]
[Issue Encountered: Encountered an error during CDC synchronization, but unable to locate where the synchronization error occurred. Where should I check?]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachment: Screenshot/Log/Monitoring]

| username: changpeng75 | Original post link

You can first refer to the TiCDC troubleshooting documentation

| username: TiDBer_8mpI7QNz | Original post link

I have already looked, but where are the logs supposed to be?

| username: changpeng75 | Original post link

Refer to the documentation and check the configuration file:

| username: zhanggame1 | Original post link

Judging by the error, there is a field ‘remark’ that exists upstream but not downstream. This isn’t difficult to check; look at the database view and search for this field.

| username: TiDBer_8mpI7QNz | Original post link

If the log location is not set, where is the default location?

| username: changpeng75 | Original post link

Check the log directory under the software deployment directory of the CDC node.

| username: 像风一样的男子 | Original post link

The server where CDC is located …/tidb-deploy/cdc-8300/log/

| username: TIDB-Learner | Original post link

Check that field first.

| username: zhang_2023 | Original post link

https://docs.pingcap.com/zh/tidb/stable/troubleshoot-ticdc

| username: Daniel-W | Original post link

Check the CDC and TiDB logs. The logs are located under the logs directory in the deployment directory.

| username: TiDBer_bpfeWK9K | Original post link

Check the deployment path of CDC on the central control machine display, the logs are there.

| username: 友利奈绪 | Original post link

Indeed, in the logs of CDC and TiDB. The logs are located under the logs directory in the deployment directory. Thanks for sharing.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.