无法连接到Azure门户FTP以下载批次 [英] Unable to connect to Azure portal FTP to download lots

查看:75
本文介绍了无法连接到Azure门户FTP以下载批次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Azure App Service并打开文件系统日志记录(12小时)。我运行了一个使用Trace.WriteLine来记录详细级别日志信息的进程。在VS2017中使用日志流只持续30分钟的过程,我运行的任务需要花费几美元b $ b小时,所以我错过了我需要查看它是成功还是失败的结束。

I'm using an Azure App Service and turned on filesystem logging (for 12 hours). I ran a process that used Trace.WriteLine to log Verbose level log information. Using the Log Stream in VS2017 only lasts for a 30 minute process and the task I ran took a couple hours, so I missed the end where I need to see if it succeeded or failed.

在尝试访问日志时,"下载日志"显示FTP和SFTP地址以及我的用户名。虽然在部署中心设置了我的FTP密码,但我尝试设置密码。但是,使用多个FTP客户端,我发现自己无法连接到
Azure服务器来下载日志。在VS2017中使用云浏览器,我可以浏览许多日志文件,但没有一个看起来像是应用程序日志。为什么我无法通过FTP连接下载日志?为什么FTP是唯一的办法呢?我错过了
云浏览器中可以看到日志的部分吗?为什么没有用于在Azure门户中查看日志的UI?

In attempting to access the logs, Download Logs shows FTP and SFTP addresses and my username. Though setting my FTP password in the Deployment Center, I attempted to set my password. However using multiple FTP clients I find myself unable to connect to the Azure server to download the logs. And using the cloud explorer in VS2017 I can explore many log files but none that appear to be the application logs. Why am I unable to connect via FTP to download the logs? Why is FTP the only approach do to do? Am I missing the part in cloud explorer where I can see the logs? And why isn't there a UI for viewing the logs in the Azure portal?

推荐答案

Sean,

由于您使用的是Azure App Services,因此您可以直接从应用程序的kudu控制台查看或下载日志。您需要浏览< webappname> .scm.azurewebsites.net并打开kudu控制台。然后你可以选择调试控制台 - > CMD或
PS - > LogFiles文件夹。你可以看到文件夹中的日志。

Since you are using Azure App Services, you can directly view or download the logs from kudu console of the app. You would need to browse <webappname>.scm.azurewebsites.net and kudu console would open. Then you can select debug console --> CMD or PS --> LogFiles folder. You can see the logs in the folder.

如果有帮助请告诉我!


这篇关于无法连接到Azure门户FTP以下载批次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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