[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eThis documentation pertains to Apigee hybrid version 1.2, which is now end-of-life and requires an upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eCassandra logs can be used to diagnose issues within the \u003ccode\u003ecassandra\u003c/code\u003e pods of your Apigee hybrid installation.\u003c/p\u003e\n"],["\u003cp\u003eYou can view Cassandra logs using the \u003ccode\u003ekubectl logs\u003c/code\u003e command, targeting a specific \u003ccode\u003ecassandra\u003c/code\u003e pod, for example: \u003ccode\u003ekubectl logs -f -n hybrid cassandra-0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAlternatively, you can access the Cassandra log files directly on the pod's filesystem by opening a shell using \u003ccode\u003ekubectl exec\u003c/code\u003e and navigating to \u003ccode\u003e/opt/apigee/var/log/cassandra/config.log\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cassandra logs\n\n| You are currently viewing version 1.2 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nUse the Cassandra logs to help diagnose problems with the `cassandra` pods.\n\n\nLogs are a good way to troubleshoot problems with your installation. See also\n[Logging](/apigee/docs/hybrid/v1.2/logging).\n\nUse the logs command\n--------------------\n\n\nYou can view Cassandra logs using the kubectl logs command. For example: \n\n```\nkubectl logs -f -n hybrid cassandra-0\n```\n\nViewing logs on the filesystem\n------------------------------\n\n\nYou can find the Cassandra log files on the `cassandra` pod's\nfilesystem. To view the files, open a shell in a `cassandra` pod: \n\n```\nkubectl exec -it -n namespace cassandra-pod-name bash\n```\n\nFor example: \n\n```\nkubectl exec -it -n hybrid cassandra-0 bash\n```\n\nOnce you have the pod shell open, you can find the Cassandra logs under\n\n`/opt/apigee/var/log/cassandra/config.log`."]]