How to enable BLOB-logging for a Node.js Api App on Azure?

1) Create file iisnode.yml in your root folder (D:\home\site\wwwroot) if not exists.

2) Add the following lines to it.

loggingEnabled: true
logDirectory: iisnode

After that done, you can find logs in D:\home\site\wwwroot\iisnode.

For more info, please refer to https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-nodejs-debug#enable-logging.