Alle Apigee Hybrid-Dienste, die in den Betriebslogdaten des Kubernetes-Clusters ausgeführt werden. Diese Loginformationen sind nützlich für die Fehlerbehebung und Fehlerbehebung. Wenn beispielsweise der Status eines Dienst-Pods auf ein Problem hinweist, können Sie sich die Protokolldateien für diesen Pod ansehen, um einen Einblick in das Problem zu erhalten. Der Apigee-Support fordert Sie möglicherweise dazu auf, Loginformationen bereitzustellen, um ein Problem zu diagnostizieren und zu beheben.
Über Logging
Jeder Dienst auf Laufzeitebene schreibt Logdaten in stdout/stderr und Kubernetes schreibt diese Daten in das Hostdateisystem. Ein Log-Collector für hybride Ausführungen läuft auf jedem Hybridknoten. Der Collector ist ein DaemonSet (Repliziert einmal und nur einmal pro Knoten), deren Job die geschriebenen Logdaten erfasst und in die Anwendung Cloud Logging exportiert, die mit Ihrem Google Cloud-Konto verknüpft ist.
Das folgende Diagramm zeigt den Erfassungsablauf der Logdaten:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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)"]]