From 4bf903f7f29ea6b47953212af1797ea029a12bfb Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Wed, 15 Sep 2021 13:35:39 +0200 Subject: [PATCH] Updated logging --- src/raspberrypi/rascsi.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/raspberrypi/rascsi.cpp b/src/raspberrypi/rascsi.cpp index 33c9ff2a..e0207a1e 100644 --- a/src/raspberrypi/rascsi.cpp +++ b/src/raspberrypi/rascsi.cpp @@ -753,7 +753,9 @@ bool CreateImage(int fd, const PbCommand& command) close(image_fd); - LOGINFO("%s", string("Created image file '" + filename + "'").c_str()); + ostringstream msg; + msg << "Created image file '" << filename + "' with a size of " << len << " bytes"; + LOGINFO("%s", msg.str().c_str()); return ReturnStatus(fd); }