kopia lustrzana https://github.com/snarfed/bridgy-fed
drop thread name from log prefix
...now that we've switched from threaded delivery to tasks, db646909e2
pull/707/head
rodzic
ba5ce2c9f1
commit
4622188aa1
|
@ -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
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue