I've been trying to make an Azure function.
How can I tell if it's running?
I'm using an ILogger
to output log messages, so I expect to see them.
I was kind of also expecting a log of invocations and results.
Do such things exist?
Except the monitor of the azure function, you can also use logs in kudu to view the output of your azure function app.
And compared with the monitor of the azure function, kudu log files is more timely.
Just go to this url: https://yourfunctionappname.scm.azurewebsites.net/DebugConsole
And then go to D:\home\LogFiles\Application\Functions\Function\yourtriggername>
, then you will find the log files. Monitor usually takes a certain time to display (usually 5 minutes), but the log file in kudu is real-time.
It is not recommended to use the ilogger module that comes with the azure function on the portal. It is very fragile and will not be displayed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With