drop thread name from log prefix

...now that we've switched from threaded delivery to tasks, db646909e2
pull/707/head
Ryan Barrett 2023-10-31 20:47:56 -07:00
rodzic ba5ce2c9f1
commit 4622188aa1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -21,11 +21,6 @@ logger = logging.getLogger(__name__)
# logging.getLogger('lexrpc').setLevel(logging.INFO)
logging.getLogger('negotiator').setLevel(logging.WARNING)
# add thread name to log prefix so we can trace log messages in
# Protocol.deliver, which is parallelized across threads
logging.getLogger().handlers[0].setFormatter(
logging.Formatter(fmt='%(levelname)s:%(name)s:%(threadName)s:%(message)s'))
app_dir = Path(__file__).parent