Turn on gevent block logging by default

This commit is contained in:
shortcutme 2018-01-27 12:15:18 +01:00
parent aad1a836db
commit cc48a0ad86
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 11 additions and 13 deletions

View file

@ -179,7 +179,6 @@ class Config(object):
self.parser.add_argument('--debug', help='Debug mode', action='store_true') self.parser.add_argument('--debug', help='Debug mode', action='store_true')
self.parser.add_argument('--silent', help='Disable logging to terminal output', action='store_true') self.parser.add_argument('--silent', help='Disable logging to terminal output', action='store_true')
self.parser.add_argument('--debug_socket', help='Debug socket connections', action='store_true') self.parser.add_argument('--debug_socket', help='Debug socket connections', action='store_true')
self.parser.add_argument('--debug_gevent', help='Debug gevent functions', action='store_true')
self.parser.add_argument('--batch', help="Batch mode (No interactive input for commands)", action='store_true') self.parser.add_argument('--batch', help="Batch mode (No interactive input for commands)", action='store_true')

View file

@ -46,7 +46,6 @@ def formatStack():
# Test if gevent eventloop blocks # Test if gevent eventloop blocks
if config.debug_gevent:
import logging import logging
import gevent import gevent
import time import time