Skip to content

Commit

Permalink
[ISSUE #111]🔊Add some print logs (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm authored Jan 26, 2024
1 parent 5a9e829 commit e07791c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rocketmq-namesrv/src/processor/default_request_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use rocketmq_remoting::{
},
runtime::processor::RequestProcessor,
};
use tracing::warn;
use tracing::{info, warn};

use crate::{route::route_info_manager::RouteInfoManager, KVConfigManager};

Expand All @@ -81,6 +81,11 @@ impl RequestProcessor for DefaultRequestProcessor {
) -> RemotingCommand {
let code = request.code();
let broker_request_code = RequestCode::value_of(code);
info!(
"Received request code:{}-{:?}",
code,
broker_request_code.as_ref()
);
match broker_request_code {
Some(RequestCode::PutKvConfig) => self.put_kv_config(request),
Some(RequestCode::GetKvConfig) => self.get_kv_config(request),
Expand Down

0 comments on commit e07791c

Please sign in to comment.