访问和使用平台日志
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面介绍如何查看 Cloud Deploy 生成的平台日志。Google Cloud 中的平台日志是服务专属日志,可用于调试和排查问题,以及更好地了解您正在使用的 Google Cloud 服务。
Cloud Deploy 为以下事件生成日志:
将渲染状态更改发布为“进行中”“成功”和“失败”
发布状态更改为进行中、成功、失败、已暂停、正在取消和已取消
发布状态更改为待批准、已批准和已拒绝
发布的阶段推进,包括已推进的阶段和正在等待推进的阶段
对于以下资源类型,无法发送有关状态更改的 Pub/Sub 通知:
在 Google Cloud 控制台中打开 Google Cloud Observability 日志浏览器页面。
在查询窗格中,点击日志名称下拉菜单,然后输入要查看的平台日志的日志 ID。
您可以从平台日志页面的列表中获取日志 ID。
选择该日志,然后点击应用。
查询结果中列出了可用的日志。
如需查看该日志的内容,请点击查询结果中列出的任意日志旁边的箭头。
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-03-14。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]