From the course: Azure Serverless Computing

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Manage and monitor functions

Manage and monitor functions - Azure Tutorial

From the course: Azure Serverless Computing

Manage and monitor functions

- [Instructor] We've seen how we can set up a simple little application or little function and run it inside the portal. Now we're gonna take a look a little bit at how we can do logging and get insights into how the application is running. We can use the logging features of the function runtime by using a trace writer, which is built right into the function. You can use the calls to the log to be able to put out information as to where you are in the function. You can have exception handling. You can do a lot of interesting things with the logs. I've used it to help debug and understand how something is running. You can see the streaming logs in the portal. We saw how log window at the bottom will show, as it's running, exactly what's happening inside of it. All of those are actually stored into files too, and I can download and look at them inside of the Kudu console or be able to access it from within other tools, like Visual Studio. I can attach and see the streaming logs coming…

Contents