mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-22 06:29:13 -04:00
Merge branch 'logging' into qa
This commit is contained in:
commit
c0a4412d80
1 changed files with 2 additions and 1 deletions
|
@ -112,8 +112,9 @@ def rethinker(args):
|
|||
return doublethink.Rethinker(servers.split(","), db)
|
||||
|
||||
|
||||
# Decorates the logger name with call location, if provided
|
||||
def decorate_logger_name(a, b, event_dict):
|
||||
"""Decorates the logger name with call location, if provided"""
|
||||
|
||||
old_name = event_dict.get("logger_name")
|
||||
if old_name is None:
|
||||
return event_dict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue