diff --git a/frameworks/native/camera/base/src/input/camera_manager.cpp b/frameworks/native/camera/base/src/input/camera_manager.cpp index 5189097c9bc0438adf3dc4ade0f7576200d63ae8..c21a399e9f7d27aee91ec53b8e5009999e3965a5 100644 --- a/frameworks/native/camera/base/src/input/camera_manager.cpp +++ b/frameworks/native/camera/base/src/input/camera_manager.cpp @@ -2602,7 +2602,7 @@ void CameraManager::ParseCapability(ProfilesWrapper& profilesWrapper, sptr supportedModes = GetSupportedModes(camera); int32_t mode = (supportedModes.empty() && isTemplateMode_.count(modeName)) ? SceneMode::NORMAL : modeName; - MEDIA_INFO_LOG("ParseProfileLevel by device = %{public}s, mode = %{public}d", camera->GetID().c_str(), mode); + MEDIA_DEBUG_LOG("ParseProfileLevel by device = %{public}s, mode = %{public}d", camera->GetID().c_str(), mode); ParseProfileLevel(profilesWrapper, mode, item); } else if (g_isCapabilitySupported(metadata, item, OHOS_ABILITY_STREAM_AVAILABLE_EXTEND_CONFIGURATIONS)) { std::vector supportedModes = GetSupportedModes(camera); diff --git a/frameworks/native/camera/base/src/session/capture_session.cpp b/frameworks/native/camera/base/src/session/capture_session.cpp index 80a11374b72e5932927eb64ebd33398d677ab877..b400435f010f97d864485b694eee39c921423178 100644 --- a/frameworks/native/camera/base/src/session/capture_session.cpp +++ b/frameworks/native/camera/base/src/session/capture_session.cpp @@ -2777,7 +2777,7 @@ void CaptureSession::SetMode(SceneMode modeName) SceneMode CaptureSession::GetMode() { - MEDIA_INFO_LOG( + MEDIA_DEBUG_LOG( "CaptureSession GetMode currentMode_ = %{public}d, guestMode_ = %{public}d", currentMode_, guessMode_); CHECK_RETURN_RET(currentMode_ == SceneMode::NORMAL, guessMode_); return currentMode_; @@ -4171,7 +4171,7 @@ bool CaptureSession::IsSetEnableMacro() bool CaptureSession::ValidateOutputProfile(Profile& outputProfile, CaptureOutputType outputType) { - MEDIA_INFO_LOG( + MEDIA_DEBUG_LOG( "CaptureSession::ValidateOutputProfile profile:w(%{public}d),h(%{public}d),f(%{public}d) outputType:%{public}d", outputProfile.size_.width, outputProfile.size_.height, outputProfile.format_, outputType); auto inputDevice = GetInputDevice(); diff --git a/interfaces/kits/js/camera_napi/include/camera_napi_event_emitter.h b/interfaces/kits/js/camera_napi/include/camera_napi_event_emitter.h index b2fc1525847a8f7fb6c22d70b1165404871b49c4..2682cc8cd74e68fad40117c92fc3317f0461b4c3 100644 --- a/interfaces/kits/js/camera_napi/include/camera_napi_event_emitter.h +++ b/interfaces/kits/js/camera_napi/include/camera_napi_event_emitter.h @@ -41,7 +41,7 @@ public: virtual napi_value RegisterCallback(napi_env env, CameraNapiCallbackParamParser& jsCbParser, bool isOnce) final { auto& callbackName = jsCbParser.GetCallbackName(); - MEDIA_INFO_LOG("CameraNapiEventEmitter::RegisterCallback:%{public}s", callbackName.c_str()); + MEDIA_DEBUG_LOG("CameraNapiEventEmitter::RegisterCallback:%{public}s", callbackName.c_str()); auto emitterFunctions = GetEmitterFunctions(); auto it = emitterFunctions.find(callbackName); if (it != emitterFunctions.end()) { diff --git a/interfaces/kits/js/camera_napi/include/camera_napi_template_utils.h b/interfaces/kits/js/camera_napi/include/camera_napi_template_utils.h index 8de54abe7bbc0746d945370a96bb3967b3e79479..939e97318a353ebba6ada6c8fdf5467ff85af7c5 100644 --- a/interfaces/kits/js/camera_napi/include/camera_napi_template_utils.h +++ b/interfaces/kits/js/camera_napi/include/camera_napi_template_utils.h @@ -75,7 +75,7 @@ class ListenerTemplate { public: static napi_value On(napi_env env, napi_callback_info info) { - MEDIA_INFO_LOG("On is called"); + MEDIA_DEBUG_LOG("On is called"); CAMERA_SYNC_TRACE; T* targetInstance = nullptr;