wsd: properly log time duration natively

Change-Id: I12d900d44d0f79932f4454f06a16d1e1b727ab63
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
This commit is contained in:
Ashod Nakashian 2021-02-20 16:30:24 -05:00 committed by Ashod Nakashian
parent 135359afff
commit 0292334805

View file

@ -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.