remove logging extra
This commit is contained in:
parent
7d7867fb64
commit
0c0e2acb9b
|
|
@ -11,7 +11,7 @@ def not_chat_log_filter(record):
|
||||||
|
|
||||||
def formatter_with_clip(record):
|
def formatter_with_clip(record):
|
||||||
# Note this function returns the string to be formatted, not the actual message to be logged
|
# Note this function returns the string to be formatted, not the actual message to be logged
|
||||||
record["extra"]["serialized"] = "555555"
|
# record["extra"]["serialized"] = "555555"
|
||||||
max_len = 12
|
max_len = 12
|
||||||
record['function_x'] = record['function'].center(max_len)
|
record['function_x'] = record['function'].center(max_len)
|
||||||
if len(record['function_x']) > max_len:
|
if len(record['function_x']) > max_len:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue