[Libreoffice-commits] online.git: wsd/Storage.cpp
Pranav Kant
pranavk at collabora.co.uk
Fri Mar 23 11:21:22 UTC 2018
wsd/Storage.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 6bb38614bdc6b37867bdd179eb18eecae4109452
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Fri Mar 23 16:46:18 2018 +0530
Some helpful logging
Change-Id: I75e5e6cbbecf1e1af94a6710ecab4ced5637f14f
diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp
index 5ff0dc822..f25220894 100644
--- a/wsd/Storage.cpp
+++ b/wsd/Storage.cpp
@@ -268,7 +268,8 @@ std::string LocalStorage::loadStorageFileToLocal(const Authorization& /*auth*/)
if (!Poco::File(_jailedFilePath).exists() && link(publicFilePath.c_str(), _jailedFilePath.c_str()) == -1)
{
// Failed
- LOG_WRN("link(\"" << publicFilePath << "\", \"" << _jailedFilePath << "\") failed. Will copy.");
+ LOG_WRN("link(\"" << publicFilePath << "\", \"" << _jailedFilePath << "\") failed. Will copy. "
+ "Linking error: " << errno << " " << strerror(errno));
}
try
@@ -303,7 +304,7 @@ StorageBase::SaveResult LocalStorage::saveLocalFileToStorage(const Authorization
{
try
{
- LOG_TRC("Saving local file to local file storage " << _isCopy << " for " << _jailedFilePath);
+ LOG_TRC("Saving local file to local file storage (isCopy: " << _isCopy << ") for " << _jailedFilePath);
// Copy the file back.
if (_isCopy && Poco::File(_jailedFilePath).exists())
{
More information about the Libreoffice-commits
mailing list