Cassandra 日志
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用 Cassandra 日志来帮助诊断 cassandra
Pod 问题。
日志是排查安装问题的很好方法。另请参阅日志记录。
使用 logs 命令
您可以使用 kubectl logs 命令查看 Cassandra 日志。例如:
kubectl logs -f -n hybrid cassandra-0
在文件系统上查看日志
您可以在 cassandra
Pod 的文件系统中找到 Cassandra 日志文件。要查看文件,请在 cassandra
Pod 中打开 shell:
kubectl exec -it -n namespace cassandra-pod-name bash
例如:
kubectl exec -it -n hybrid cassandra-0 bash
打开 Pod shell 后,您可以在 /opt/apigee/var/log/cassandra/config.log
下找到 Cassandra 日志。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-28。
[[["易于理解","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-01-28。"],[],[]]