Reputation: 1792
I am new to Azure and Functions, so please bear with me.
I have a timer trigger isolated .Net 5 function. It does some CRUD operations against SQL database. It works fine locally when tested in Visual Studio 2019. However, when it is deployed into Azure, the trigger isn't invoked. It has Serilog for logging and I see no logging added to the files.
Using postman, I make a post request to the function. I can see the request count in the graph but nothing more than that.
Where can I see errors without turning on the application insights?
Thanks.
Upvotes: 0
Views: 1336
Reputation: 485
In my case, I just update the project.csproj with following
<PublishReadyToRun>true</PublishReadyToRun>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
After deploying and restart again I see functions are available
Can checkout the following docs
Upvotes: 0
Reputation: 4883
Where can I see errors without turning on the application insights?
Finally i concluded ,that You can use Kudu console to see your logs for your application. To get kudu console go to APP service>Advanced Tools >Go
After click on go it will redirect to Kudu homepage like this
From here you can choose debug console (cmd) to download and see your logs
For more information please refer this MS Q&A discussion Azure Function Time Trigger not Firing .
Upvotes: 3