title: Persistent application logs for NodeJS app on azure app service
body: <p>I have a nodejs app which is nothing but a BOT built using Microsoft's bot builder framework. I created an azure app service to host this app. I would like to find a way to persist all the application logs and web server logs as well (if possible) to some persistent store. Just like native web applications where we can look up logs on a app server &amp; debug the application issues. </p>
  
  <p>After doing some research I found official <a href="https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#enablediag" rel="nofollow noreferrer">document</a> from microsoft on this but looks like it has following limitations.</p>
  
  <ul>
  <li>We can't use file storage option of app service as it's good for 12
  hours only so logs will not be saved forever.</li>
  <li>Currently only .NET application logs can be written to the blob
  storage. Java, PHP, Node.js, Python application logs can only be
  stored on the file system (without code modifications to write logs
  to external storage).</li>
  </ul>
  
  <p>I would like to check if anyone has tried any different approach for nodejs app. If yes then please share. </p>
  
  <p>Thank you.</p>