My Azure function becomes unresponsive (new Blob trigger doesn't trigger) overnight, and starts working again when I click on that job in the Azure portal UI.
update 9th August 11:17 - it is when $logs creates a new subfolder every hour, the BlobTrigger doesn't get triggered by these new files
when a new folder is created the BlobTrigger isn't triggered when new files are created in that folder.
end update
public static class Function2
{
[FunctionName("Function2")]
public static void Run([BlobTrigger("$logs/{name}", Connection = "ddavemstorage")]
Stream blobStream, string name, TraceWriter log, ExecutionContext context)
I can verify the $logs files are being written regularly (using Azure Storage Explorer) but don't trigger the BlobTrigger overnight.
Screenshot taken at 1016. 30minutes ago I looked at the portal Azure Function UI. It then processed the log file from 0600UTC (actually 0700 my time). And it processed all the others which it had missed.
- Plan: Consumption: 0 Small
- Runtime: 1.0.11913.0 (.NET full)
It may be possible this is something to do with the $logs folder. This couldn't be monitored a few years ago. https://github.com/Azure/azure-webjobs-sdk/issues/715
$logs folder is being written to as expected.