diff --git a/common/include/input_hub.cpp b/common/include/input_hub.cpp index ecdd078..955078a 100644 --- a/common/include/input_hub.cpp +++ b/common/include/input_hub.cpp @@ -180,7 +180,7 @@ size_t InputHub::GetEvents(RawEvent *buffer, size_t bufferSize) } if (!sharedDHIds_[device->identifier.descriptor]) { RecordDeviceChangeStates(device, readBuffer, count); - DHLOGE("Not in sharing stat, device descriptor: %s", + DHLOGD("Not in sharing stat, device descriptor: %s", GetAnonyString(device->identifier.descriptor).c_str()); continue; } @@ -204,7 +204,7 @@ size_t InputHub::GetEvents(RawEvent *buffer, size_t bufferSize) bool InputHub::IsTouchPad(const InputDevice &inputDevice) { std::string dhName = inputDevice.name; - DHLOGI("device name is %s.", dhName.c_str()); + DHLOGD("device name is %s.", dhName.c_str()); transform(dhName.begin(), dhName.end(), dhName.begin(), ::tolower); if (dhName.find(DH_TOUCH_PAD) == std::string::npos) { return false; @@ -1314,7 +1314,7 @@ void InputHub::RecordChangeEventLog(const RawEvent &event) eventType = "other type " + std::to_string(event.type); break; } - DHLOGD("0.E2E-Test Sink collect change event, EventType: %s, Code: %d, Value: %d, Path: %s, descriptor: %s," + DHLOGI("0.E2E-Test Sink collect change event, EventType: %s, Code: %d, Value: %d, Path: %s, descriptor: %s," "When:%" PRId64 "", eventType.c_str(), event.code, event.value, event.path.c_str(), GetAnonyString(event.descriptor).c_str(), event.when); } diff --git a/services/sink/inputcollector/src/distributed_input_collector.cpp b/services/sink/inputcollector/src/distributed_input_collector.cpp index 52015c0..e70c198 100644 --- a/services/sink/inputcollector/src/distributed_input_collector.cpp +++ b/services/sink/inputcollector/src/distributed_input_collector.cpp @@ -117,7 +117,7 @@ void DistributedInputCollector::StartCollectEventsThread() } size_t count = inputHub_->StartCollectInputEvents(mEventBuffer, INPUT_EVENT_BUFFER_SIZE); if (count > 0) { - DHLOGI("Count: %zu", count); + DHLOGD("Count: %zu", count); } else { continue; } diff --git a/services/sink/transport/src/distributed_input_sink_transport.cpp b/services/sink/transport/src/distributed_input_sink_transport.cpp index d7a1574..69368ca 100644 --- a/services/sink/transport/src/distributed_input_sink_transport.cpp +++ b/services/sink/transport/src/distributed_input_sink_transport.cpp @@ -69,7 +69,7 @@ DistributedInputSinkTransport &DistributedInputSinkTransport::GetInstance() void DistributedInputSinkTransport::DInputSinkEventHandler::ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event) { - DHLOGI("ProcessEvent"); + DHLOGD("ProcessEvent"); EHandlerMsgType eventId = static_cast(event->GetInnerEventId()); switch (eventId) { case EHandlerMsgType::DINPUT_SINK_EVENT_HANDLER_MSG: { diff --git a/services/source/transport/src/distributed_input_source_transport.cpp b/services/source/transport/src/distributed_input_source_transport.cpp index 8b85e72..60b9dfc 100644 --- a/services/source/transport/src/distributed_input_source_transport.cpp +++ b/services/source/transport/src/distributed_input_source_transport.cpp @@ -1107,7 +1107,7 @@ void DistributedInputSourceTransport::CalculateLatency(int32_t sessionId, const recvNum_ += 1; eachLatencyDetails_ += (std::to_string(deltaTime_) + DINPUT_SPLIT_COMMA); if (deltaTime_ >= MSG_LATENCY_ALARM_US) { - DHLOGW("The RTT time between send req and receive rsp is too long: llu% us"); + DHLOGW("The RTT time between send req and receive rsp is too long: %llu us", deltaTime_); } } diff --git a/services/transportbase/src/distributed_input_transport_base.cpp b/services/transportbase/src/distributed_input_transport_base.cpp index f74e8e6..f89b47f 100644 --- a/services/transportbase/src/distributed_input_transport_base.cpp +++ b/services/transportbase/src/distributed_input_transport_base.cpp @@ -485,7 +485,7 @@ void DistributedInputTransportBase::HandleSession(int32_t sessionId, const std:: return; } uint32_t cmdType = recMsg[DINPUT_SOFTBUS_KEY_CMD_TYPE]; - DHLOGI("HandleSession cmdType %u.", cmdType); + DHLOGD("HandleSession cmdType %u.", cmdType); if (cmdType < TRANS_MSG_SRC_SINK_SPLIT) { if (srcCallback_ == nullptr) { DHLOGE("srcCallback is nullptr.");