ravibhat
ravibhat

Reputation: 931

Azure function firing twice- VS 2017 preview

I am having an issue with Azure function(Blog trigger.. etc), which fires multiple times for an event. This issue started once after i started using VS 2017 azure template to develop azure function. Please note this happens even though i am not debugging in VS 2017

Log:

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)

Has anyone come across similar issue?

Thanks in advance Ravi

Upvotes: 2

Views: 1153

Answers (1)

lindydonna
lindydonna

Reputation: 3875

This is probably caused by duplicate logs, which can happen in the portal Logs tab. You should instead look at executions in the Monitor tab or enable Application Insights.

Upvotes: 2

Related Questions