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

☆樱花仙子☆ 提交于 2019-11-27 09:53:52

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.

After above settings in iisnode.yml, the logs you see D:\home\site\wwwroot\iisnode are from BLOB storage or file system.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!