From bc06aaf84997c60f5c1e9bc192e2b0fcbd6bae16 Mon Sep 17 00:00:00 2001 From: Ouziel Slama Date: Fri, 6 Dec 2024 07:21:27 +0000 Subject: [PATCH] tweak --- counterparty-core/counterpartycore/lib/log.py | 2 +- counterparty-rs/src/indexer/logging.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/counterparty-core/counterpartycore/lib/log.py b/counterparty-core/counterpartycore/lib/log.py index a16a375fae..c2bc9d32c2 100644 --- a/counterparty-core/counterpartycore/lib/log.py +++ b/counterparty-core/counterpartycore/lib/log.py @@ -51,7 +51,7 @@ def formatTime(record, datefmt=None): def get_full_topic(record): - process_name = "LEDGER" + process_name = "Ledger" if current_process().name != "MainProcess": process_name = "API" thread_name = threading.current_thread().name diff --git a/counterparty-rs/src/indexer/logging.rs b/counterparty-rs/src/indexer/logging.rs index 3161eb7351..dac119e8bb 100644 --- a/counterparty-rs/src/indexer/logging.rs +++ b/counterparty-rs/src/indexer/logging.rs @@ -95,7 +95,7 @@ where let metadata = event.metadata(); write!( writer, - " - [{}] - RSFETCHER - ", + " - [{}] - RSFetcher - ", format!("{:>8}", metadata.level().to_string()).color(self.get_color(metadata.level())) )?; ctx.field_format().format_fields(writer.by_ref(), event)?;