Semua layanan Apigee hybrid yang berjalan di cluster Kubernetes Anda akan menghasilkan informasi log operasional. Informasi log ini berguna untuk pemecahan masalah dan proses debug. Misalnya, jika status pod layanan menunjukkan adanya masalah, Anda dapat melihat file log untuk pod tersebut guna mendapatkan insight tentang masalah tersebut. Dukungan Apigee dapat meminta Anda untuk memberikan informasi log guna mendiagnosis dan menyelesaikan masalah.
Tentang logging
Setiap layanan platform runtime menulis data log ke stdout/stderr, dan
Kubernetes menulis data ini ke sistem file host. Pengumpul log untuk hybrid berjalan di setiap node hybrid. Pengumpul adalah DaemonSet (direplikasi sekali dan hanya sekali per node) yang tugasnya mengumpulkan data log tertulis dan mengekspornya ke aplikasi Cloud Logging yang terkait dengan akun Google Cloud Anda.
Diagram berikut menunjukkan proses pengumpulan data log:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 UTC."],[[["\u003cp\u003eThis documentation covers version 1.8 of Apigee hybrid, which is now end-of-life and requires an upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid services in Kubernetes output operational logs useful for troubleshooting and debugging issues.\u003c/p\u003e\n"],["\u003cp\u003eA DaemonSet log collector runs on each hybrid node to gather log data written to stdout/stderr.\u003c/p\u003e\n"],["\u003cp\u003eCollected log data is exported to the Cloud Logging application associated with your Google Cloud account.\u003c/p\u003e\n"]]],[],null,["# Logging overview\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\nAll of the Apigee hybrid services that run in your Kubernetes\ncluster output operational log information. This log information is\nuseful for troubleshooting and debugging. For example, if a service\npod's status indicates a problem, you can look at the log files for\nthat pod to gain insight into the issue. Apigee support may request\nyou to provide log information to diagnose and solve a problem.\n\nAbout logging\n-------------\n\nEach runtime plane service writes log data to stdout/stderr, and\nKubernetes writes this data to the host filesystem. A logs\ncollector for hybrid runs on each hybrid node. The\ncollector is a [DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) (replicated once and only once per node) whose job\nis to collect the written log data and export it to the\n[Cloud Logging](https://cloud.google.com/logging/docs/)\napplication associated with your Google Cloud account.\n\nThe following diagram shows the log data collection process:\n\nNext step\n---------\n\n- [View logs](/apigee/docs/hybrid/v1.8/logging-view)"]]