我遇到Azure功能(博客触发器等)的问题,该事件会多次触发事件。在我开始使用VS 2017 azure模板开发azure功能后,此问题开始了一次。 请注意,即使我在VS 2017中没有调试,也会发生这种情况
日志:
2017-06-23T06:46:52.055 Executing 'Functions.dafBlobTrigger' (Reason='New blob detected: input/NETSNEFS20161030052344898 - Copy30.XML', Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1)
2017-06-23T06:46:52.055 Function started (Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1)
2017-06-23T06:46:52.055 C# Blob trigger function Processed blob Name:20161030052344898 - Copy30.XML Size: 61026 Bytes
2017-06-23T06:46:52.220 Function completed (Success, Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1, Duration=162ms)
2017-06-23T06:46:52.220 Executed 'Functions.dafBlobTrigger' (Succeeded, Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1)
2017-06-23T06:46:52.055 Function started (Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1)
2017-06-23T06:46:52.055 C# Blob trigger function Processed blob Name:20161030052344898 - Copy30.XML Size: 61026 Bytes
2017-06-23T06:46:52.220 Function completed (Success, Id=XXXXXXXXX-f246-4f12-8454-XXXXXX56b1b1, Duration=162ms)
有没有人遇到类似的问题?
提前致谢 拉维
答案 0 :(得分:2)
这可能是由重复日志引起的,这可能发生在门户日志选项卡中。您应该在“监控”选项卡中查看执行情况,或启用“应用程序洞察”。