Insights Hub Cloud Foundry – 如何收集 Backing service 的日志?

2023-11-01T05:03:59.000-0400
Developer Tools Applications

摘要

如何收集在 CF 中 Backing service 的日志?


详细信息

目前针对 CF 中的 Backing service,例如:PostgreSQL。Backing service 的日志收集功能需要用户自行创建 LogMe 并进行绑定从而才能进行日志收集。参考:https://docs.anynines.com/docs/application-developer/a9s-logme/a9s-ad-logme-using/#stream-a9s-service-logs-to-logme

同时,LogMe 所收集日志的 Backing service 类型(Plan)不能为 "-XS" 这种类型。例如:postgresql-xs 这个 plan 类型的 PostgreSQL 日志是无法被 LogMe 所收集的。如果需要让 LogMe 收集 backing service 日志的话需要升级到例如:postgresql-s10 或者更高的 plan。

知识库文章 ID# KB000122802_ZH_CN

内容

摘要详细信息

关联组件

Cloud Foundry