簡體   English   中英

Azure 服務啟動日志

[英]Azure service startup logs

我在 azure 服務上運行了 asp.net core 2.2 應用程序。 它之前工作正常,但現在當我部署它時An error occurred while starting the application.此錯誤: An error occurred while starting the application. 我在應用程序日志文件中看不到任何內容,因為這發生在應用程序啟動之前。 所以,我的問題是,是否有任何 azure 日志文件我可以查看以查看導致錯誤的原因?

許多啟動錯誤不會在日志中看到任何有用的信息。 這時候就可以使用kudu工具(這是MS提供的方法,這是doc ),它位於Under Development Tools/Advanced Tools下。

kudu工具使用方法:

打開工藤

轉到調試控制台(頂部菜單),然后 CMD

光盤站點

光盤 wwwroot

DIR 列出內容。 在列表中找到您的 dll,以確保您位於正確的位置。

DOTNET your.dll

有關如何使用 kudu 工具的更多信息,請查看此文檔:

https://social.technet.microsoft.com/wiki/contents/articles/36467.understanding-the-azure-app-service-editor.aspx

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM