From 29996242ac6c52b1d041ff50214110a1da9708c1 Mon Sep 17 00:00:00 2001 From: Nobody Date: Thu, 17 Feb 2022 23:04:41 +0500 Subject: [PATCH] Differentiate logging between region_list and cur_region on request --- src/server/dispatch_server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/dispatch_server.rs b/src/server/dispatch_server.rs index 67e7a1b..5b29b4f 100644 --- a/src/server/dispatch_server.rs +++ b/src/server/dispatch_server.rs @@ -209,7 +209,7 @@ impl DispatchServer { } async fn query_region_list(c: web::Query) -> String { - println!("Client: {:?}", c); + println!("RegionList, Client: {:?}", c); let keys = DispatchServer::load_keys("master"); @@ -242,7 +242,7 @@ impl DispatchServer { } async fn query_cur_region(c: web::Query) -> String { - println!("Client: {:?}", c); + println!("CurRegion, Client: {:?}", c); let keys = DispatchServer::load_keys("master");