"Function host is not running" - 我在哪里可以找到错误日志?
"Function host is not running" - Where do I find the error log?
这是我第二次 运行 进入 "Function host is not running." 错误。我不仅想知道解决方案,还想知道解决此类问题的过程,特别是知道去哪里获取潜在错误。
今天重新部署了应用,测试了HTTP触发功能。我在以下位置查看了错误详细信息(如果您知道应该存在错误,请随时让我仔细检查其中任何一个,我只是普通人!):
诊断和解决问题/功能 App Down 或报告错误:
- 似乎报告了一个陈旧的错误,我什至编写了代码以提前终止并出现异常,但原始错误仍然没有改变。
AppInsights:
- "Your app is offline or the Application Insights SDK needs updating."
捻角羚:
- D:\home\LogFiles\eventlog.xml - 在这里看不到任何有意义的东西
- D:\home\LogFiles\Application\Functions\Function\FunctionName\*.log - 今天没有文件
- D:\home\LogFiles\Application\Functions\Host\*.log - 今天没有文件
存储帐户文件共享:
- 一个修改为今天的日期
- /LogFiles/ - 空
- /site/wwwroot/ - 空
通常此错误是由无效的 host.json
文件或无效的 proxies.json
文件引起的。
参考:
错误应该显示在
Diagnose and solve problems / Function App Down or Reporting Errors
有关详细信息,请参阅对 的回答。
这是我第二次 运行 进入 "Function host is not running." 错误。我不仅想知道解决方案,还想知道解决此类问题的过程,特别是知道去哪里获取潜在错误。
今天重新部署了应用,测试了HTTP触发功能。我在以下位置查看了错误详细信息(如果您知道应该存在错误,请随时让我仔细检查其中任何一个,我只是普通人!):
诊断和解决问题/功能 App Down 或报告错误:
- 似乎报告了一个陈旧的错误,我什至编写了代码以提前终止并出现异常,但原始错误仍然没有改变。
AppInsights:
- "Your app is offline or the Application Insights SDK needs updating."
捻角羚:
- D:\home\LogFiles\eventlog.xml - 在这里看不到任何有意义的东西
- D:\home\LogFiles\Application\Functions\Function\FunctionName\*.log - 今天没有文件
- D:\home\LogFiles\Application\Functions\Host\*.log - 今天没有文件
存储帐户文件共享:
- 一个修改为今天的日期
- /LogFiles/ - 空
- /site/wwwroot/ - 空
通常此错误是由无效的 host.json
文件或无效的 proxies.json
文件引起的。
参考:
错误应该显示在
Diagnose and solve problems / Function App Down or Reporting Errors
有关详细信息,请参阅对