Skip to content

Commit

Permalink
Fixed mediasrv.py printing to stderr on non dev mode
Browse files Browse the repository at this point in the history
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1'
Pylons/waitress#235
  • Loading branch information
evandrocoan committed Apr 29, 2020
1 parent 72ce323 commit bcad2e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qt/aqt/mediasrv.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def run(self):
if devMode:
# idempotent if logging has already been set up
logging.basicConfig()
else:
logging.getLogger("waitress.queue").setLevel(logging.ERROR)

self.server = create_server(app, host="127.0.0.1", port=0)
if devMode:
Expand Down

0 comments on commit bcad2e1

Please sign in to comment.