Azure"Linux上的Web应用程序"应用程序服务应用程序日志记录 [英] Azure 'Web App on Linux' app service Application logging

查看:97
本文介绍了Azure"Linux上的Web应用程序"应用程序服务应用程序日志记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Azure'Linux上的Web应用程序',它利用docker容器通过私有注册表(Azure Container Registry)托管Java应用程序和python应用程序,但我还没有找到一种方法来收集和分析应用程序日志在容器内.

I am currently using Azure 'Web app on Linux' that leverages docker containers to host a java app and a python app via private registry(Azure Container Registry) and I have yet to find a way to collect and analyze the application logs inside the container.

目标是通过OMS,应用程序洞察力或存储分析来分析应用程序日志.我了解到"Linux上的Web应用程序"仍处于预览状态,但是没有有关当前支持哪些功能的官方文档.

The goal is to analyze the application logs either by OMS, application insight or storage analytics. I understand that 'Web app on linux' is still in a preview state but there is no official documentation on what features are currently supported.

Azure通过容器的"Linux上的Web应用程序"是否支持将日志导出到Blob存储或适用于JAVA和Python的应用程序见解SDK?关于如何为asp.net和标准Web应用程序服务配置它的大量文档,但是我找不到"Linux容器上的Web应用程序".

Does Azure 'Web app on Linux' via containers support exporting logs to blob storage or an application insight SDK for JAVA and Python yet? Plenty of documentation on how to configure it for asp.net and standard web app service but not much I can find out 'Web app on Linux containers'.

到目前为止,我对我的JAVA应用程序所做的尝试:-安装JAVA SDK和log4js附加程序.我确实在应用程序见解中看到访问/请求日志,但在容器内看不到我的应用程序日志.

What I have attempted so far with my JAVA application: - Install JAVA SDK and log4js appender. I do see access/request logs in application insight but not my application logs inside the container.

在"Linux上的Web应用程序"中收集/查看/分析容器应用程序日志的最佳解决方案或策略是什么?

What is the best solution or strategy to collect/view/analyze container application logs in 'Web App on Linux'?

感谢和问候!

推荐答案

Application Insights确实支持Java和Python.

Application Insights does support Java and Python.

以下是Application Insights支持的平台列表:

Here's a list of the supported platforms for Application Insights:

https://docs.microsoft.com/en-us/azure/application-insights/app-insights-platforms

这篇关于Azure"Linux上的Web应用程序"应用程序服务应用程序日志记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆