From 02923348057a686b839c08c7ab657c645335bf5f Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Sat, 20 Feb 2021 16:30:24 -0500 Subject: [PATCH] wsd: properly log time duration natively Change-Id: I12d900d44d0f79932f4454f06a16d1e1b727ab63 Signed-off-by: Ashod Nakashian --- wsd/Storage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp index 8c3b2019f..051029307 100644 --- a/wsd/Storage.cpp +++ b/wsd/Storage.cpp @@ -1079,8 +1079,7 @@ std::string WopiStorage::downloadDocument(const Poco::URI& uriObject, const std: const FileUtil::Stat fileStat(getRootFilePath()); const std::size_t filesize = (fileStat.good() ? fileStat.size() : 0); LOG_INF("WOPI::GetFile downloaded " << filesize << " bytes from [" << uriAnonym << "] -> " - << getRootFilePathAnonym() << " in " << diff.count() - << 's'); + << getRootFilePathAnonym() << " in " << diff); setDownloaded(true); // Now return the jailed path.