Where did all entries to ILogger go?

Viewed 38

It's a recent change in portal.azure.com, I can't seem to find my functions (core 3.1) logs anymore? The ones that is outputted by ILogger. Before I could go into functions and view executions and see the logs produced by using ILogger. I don't find it anymore, did they move it?

1 Answers

Now, the function must configure the corresponding application insights before you can view the log on the portal.

So you need to configure an application insights to your function app like this:

enter image description here

Then your function app will restart.

Of course, you can also go to kudu to view:

First, go to advanced tools, then click 'GO',

enter image description here

Then After you go to kudu, click Debug Console -> CMD -> LogFiles -> Application -> Functions -> yourtriggername. You will find log file there.

If you are based on linux OS, after go to kudu, just click log stream is ok.

Related