Python 日志记录到 Azure

GZZ*_*GZZ 5 python logging azure

我正在使用Python,我想知道是否有任何包/简单的方法可以直接登录到Azure?

我发现了一个非常好的包( azure-storage-logging ),但是它没有得到维护并且与新的 Azure API 不兼容。

欢迎任何帮助。

Thi*_*dio 4

您应该使用 Application Insights,它将日志发送到 Azure Monitor(以前称为 Log Analytics)。

https://learn.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python