diff --git a/src/controller/java/AndroidLogDownloadFromNode.cpp b/src/controller/java/AndroidLogDownloadFromNode.cpp index 667d47c8cba2ce..785567476fc125 100644 --- a/src/controller/java/AndroidLogDownloadFromNode.cpp +++ b/src/controller/java/AndroidLogDownloadFromNode.cpp @@ -213,7 +213,7 @@ void AndroidLogDownloadFromNode::FinishLogDownloadFromNode(void * context, CHIP_ jint jFabricIndex = self->mController->GetFabricIndex(); jlong jremoteNodeId = self->mRemoteNodeId; - VerifyOrExit(env != nullptr, ChipLogError(Test, "Could not get JNIEnv for current thread")); + VerifyOrExit(env != nullptr, ChipLogError(Controller, "Could not get JNIEnv for current thread")); if (err == CHIP_NO_ERROR) {