How to Enable Debug Logging for Webhooks (Azure)

How to enable debug logging for Webhooks on Azure?

To set up debug logging for the Webhooks Azure Web Service, add the following lines to the appsetting.json file.

In the Serilog section:

,

{

"Name": "File",

"Args": { "path": "D:/home/logfiles/log.txt", "rollingInterval": "Day" }

},

It should look like this:

1.png

This should create a log file in D\home\logfiles with Webhooks debug logs.

2.png