aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.rs
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-24 01:51:51 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-24 01:51:51 +0100
commitd9621cf95201c7a64a365686201f40bbd5952156 (patch)
tree1130b833b10d95bc9c4450b93e4b2b485deb8671 /src/main.rs
parentee215982330c2670308e234429dd496d7f655c8f (diff)
downloadsentrum-d9621cf95201c7a64a365686201f40bbd5952156.tar.gz
sentrum-d9621cf95201c7a64a365686201f40bbd5952156.tar.bz2
sentrum-d9621cf95201c7a64a365686201f40bbd5952156.zip
Improve log format consistency
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f719433..14b660c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -74,7 +74,11 @@ async fn get_and_handle_new_txs(
TokioScope::scope_and_block(|s| {
for tx in txs.iter() {
let params = MessageParams::new(tx, &locked_wallet_info);
- info!("running actions for txid '{}'", params.txid_short());
+ info!(
+ "[{}][{}] running actions",
+ params.wallet(),
+ params.txid_short()
+ );
s.spawn(run_actions(actions, Some(params)));
}
});