title: FastAPI uvicorn not logging errors
body: <p>I am learning fastapi, and I am starting a uvicorn server on localhost. Whenever there is an error/exception, I am not getting the traceback.
  All I am getting is : <code>INFO:     127.0.0.1:56914 - &quot;POST /create/user/ HTTP/1.1&quot; 500 Internal Server Error</code></p>
  <p>So, It is difficult to debug, I am trying out logging module of python</p>
  <pre><code> import logging
   log = logging.getLogger(&quot;uvicorn&quot;)
   log.setLevel(logging.DEBUG)
  </code></pre>
  <p>I have also tried starting uvicorn with debug parameter</p>
  <pre><code>if __name__ == &quot;__main__&quot;:
      dev = 1
      print(&quot;printing&quot;)
      if dev == 1:
          uvicorn.run('main:app', host=&quot;127.0.0.1&quot;, port=5000, log_level=&quot;info&quot;, reload=True, debug=True)
      if dev == 2:
          uvicorn.run('main:app', host=&quot;127.0.0.1&quot;, port=5000, log_level=&quot;info&quot;, workers=2)
  
  
  still the same problem persists. I am in development phase and I need to error traceback,please guide. 
  </code></pre>