From e35bb9075de092c8241df8cae556d976628110da Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Tue, 19 Mar 2024 16:15:00 +1100 Subject: [PATCH] Improve Redis connection logging --- nautilus_core/infrastructure/src/redis.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nautilus_core/infrastructure/src/redis.rs b/nautilus_core/infrastructure/src/redis.rs index 662e7c177be2..d421ad8c99a8 100644 --- a/nautilus_core/infrastructure/src/redis.rs +++ b/nautilus_core/infrastructure/src/redis.rs @@ -86,7 +86,7 @@ impl CacheDatabase for RedisCacheDatabase { let database_config = config .get("database") .ok_or(anyhow::anyhow!("No database config"))?; - debug!("Creating cache read redis connection"); + debug!("Creating cache-read redis connection"); let conn = create_redis_connection(&database_config.clone())?; let (tx, rx) = channel::(); @@ -172,7 +172,7 @@ impl CacheDatabase for RedisCacheDatabase { ) { let empty = Value::Object(serde_json::Map::new()); let database_config = config.get("database").unwrap_or(&empty); - debug!("Creating cache write redis connection"); + debug!("Creating cache-write redis connection"); let mut conn = create_redis_connection(&database_config.clone()).unwrap(); // Buffering