[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThis documentation version 1.8 for Apigee hybrid is end of life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eCassandra logs are useful for diagnosing issues within the \u003ccode\u003ecassandra\u003c/code\u003e pods of an Apigee hybrid installation.\u003c/p\u003e\n"],["\u003cp\u003eLogs can be viewed using the \u003ccode\u003ekubectl logs\u003c/code\u003e command, for instance \u003ccode\u003ekubectl logs apigee-cassandra-default-0 -n apigee\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCassandra log files are located in the \u003ccode\u003ecassandra\u003c/code\u003e pod's filesystem at \u003ccode\u003e/opt/apigee/var/log/cassandra/config.log\u003c/code\u003e, accessible via shell.\u003c/p\u003e\n"]]],[],null,["# Cassandra logs\n\n| You are currently viewing version 1.8 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.8/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 apigee-cassandra-default-0 -n apigee\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 cassandra_pod_name -n namespace_name -- /bin/bash\n```\n\nFor example: \n\n```\nkubectl exec -it apigee-cassandra-default-0 -n apigee -- /bin/bash\n```\n\nOnce you have the pod shell open, you can find the Cassandra logs under\n`/opt/apigee/var/log/cassandra/config.log`."]]