Share via

Azure function app logs

Hari 1 Reputation point
2022-07-25T14:22:17.87+00:00

Hello Team, I created a azure blob trigger function app for moving a file from one folder to another folder in a storage account using azure free trail account. When I try to run , I cannot see the logs in the console, I see only connected and scm_logstream_timeout statements in the console. Do I need the azure subscription account to see the logs in the console?

224463-image.png

Azure Data Lake Storage
Azure Data Lake Storage

An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,792 Reputation points Moderator
    2022-07-26T03:54:43.367+00:00

    Hello @Hari - Thanks for reaching out & posting on MS Q&A. We'd be happy to assist you here and help make your Azure experience a great one!

    The reason for the absence of the log messages is probably due to the Test/Run feature not mimicking an actual creation of a blob file that would cause (a) the invoking of your Blob trigger function and (b) capturing of the log messages that you'd then expect to see via the log streaming window. For a quick validation of this behavior, you can spin up an HTTP trigger function and try the Test/Run feature to see if the logs from it show.

    For testing the Blob trigger & getting the log messages in the log streaming window, you'll need to actually upload a blob file as detailed in our documentation here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-storage-blob-triggered-function#test-the-function

    I hope this helps. Please let me know if you have any further questions.

    -------------------------------------------------------------------------------

    Please consider contributing to MS Q&A by marking 'Accepted Answer' and ‘Upvoting’ as applicable.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.