diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
index 511cc12e2f..fd5fb51bbf 100644
--- a/src/libcamera/v4l2_subdevice.cpp
+++ b/src/libcamera/v4l2_subdevice.cpp
@@ -1786,7 +1786,8 @@ V4L2Subdevice::fromEntityName(const MediaDevice *media,
 
 std::string V4L2Subdevice::logPrefix() const
 {
-	return "'" + entity_->name() + "'";
+	return deviceNode() + '[' + std::to_string(fd()) +
+		":'" + entity_->name() + "']";
 }
 
 std::vector<unsigned int> V4L2Subdevice::enumPadCodes(const Stream &stream)
