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-08-18 UTC."],[],[],null,["# Logging overview\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](/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.15/logging-view)"]]