title: How to see logs on screen like console in azure webapp?
body: <p>I have deployed python code on azure webapp.</p>
  <pre><code>def main():
      logging.basicConfig(filename=&quot;logtesting&quot;,
                              filemode='a',
                              format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
                              datefmt='%H:%M:%S',
                              level=logging.DEBUG)
      logging.info(&quot;Main thread started...&quot;)
      print(&quot;Main thread started...&quot;)
  </code></pre>
  <p>I tried to see logs on <code>log stream</code> but unable to see anything like what we can see on console.</p>
  <p><a href="https://i.stack.imgur.com/YEZY1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YEZY1.png" alt="enter image description here" /></a></p>
  <p>Is there any setting ? because <code>we do not have any option of App insight when we use python in azure webapp</code></p>