Improve format of message sent on cleanup
This commit is contained in:
parent
c8e9368247
commit
6121ddb996
|
@ -129,7 +129,7 @@ def cleanup(subclass, references):
|
|||
for tx, reference in get_ref_map().items():
|
||||
if reference not in references:
|
||||
if get_subclass(reference) == subclass:
|
||||
logmessage = f"Archiving trade reference: {reference} / TX: {tx}"
|
||||
logmessage = f"{reference}: Archiving trade reference. TX: {tx}"
|
||||
messages.append(logmessage)
|
||||
log.info(logmessage)
|
||||
r.rename(f"trade.{tx}.reference", f"archive.trade.{tx}.reference")
|
||||
|
|
Loading…
Reference in New Issue