Azure Database for PostgreSQL 灵活服务器日志不起作用

标签 azure azure-database-postgresql

我正在尝试为 Azure Database for PostgreSQL 灵活服务器运行日志,但我一直在下图中收到此消息,解决方案是什么?

enter image description here

最佳答案

为了访问日志,我们需要在 Postgres 服务器上启用诊断设置。以下是需要采取的必要步骤。

第一步: enter image description here

点击“添加诊断设置”

enter image description here

输入名称并点击各自的日志服务,点击保存

enter image description here

验证:

转到监视器 -> 日志并运行查询

enter image description here

关于Azure Database for PostgreSQL 灵活服务器日志不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74686159/

相关文章:

azure - 如何在 IIS 上托管 BOT Framework V4 BOT

wcf - 使用 WCF 服务将 mschart 添加到 Windows Azure 应用程序时出现的问题

c# - PowerShell 脚本上的 Git 命令 - 授权

Azure PostgreSQL : it is not possible to remove database through Azure CLI

postgresql - 我运行虚拟机的事实是否会改变我的常规 IP 地址的白名单状态?

azure - 如何重新连接到docker实例

azure - 通过 API 更改 Azure Databricks 工作区设置

azure - 远程访问 Azure Postgres 数据库

postgresql - 无法创建 PostgreSQL super 用户角色来安装和运行应用程序