[Libreoffice-commits] online.git: loolwsd/Storage.hpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Sat Apr 16 17:57:31 UTC 2016


 loolwsd/Storage.hpp |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit a9f58e26573755099c54ebcabbc6e3858abea407
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sat Apr 16 12:53:42 2016 -0400

    loolwsd: log Storage construction to identify concrete backend
    
    Change-Id: I0bcb0d08bccd1551abc7c2ffdf79d8f6154dc880
    Reviewed-on: https://gerrit.libreoffice.org/24134
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/Storage.hpp b/loolwsd/Storage.hpp
index 422fe2f..29f0fc3 100644
--- a/loolwsd/Storage.hpp
+++ b/loolwsd/Storage.hpp
@@ -91,6 +91,8 @@ public:
         StorageBase(localStorePath, jailPath, uri),
         _isCopy(false)
     {
+        Log::info("LocalStorage ctor with localStorePath: [" + localStorePath +
+                  "], jailPath: [" + jailPath + "], uri: [" + uri + "].");
     }
 
     FileInfo getFileInfo(const Poco::URI& uri) override;
@@ -112,6 +114,8 @@ public:
                 const std::string& uri) :
         StorageBase(localStorePath, jailPath, uri)
     {
+        Log::info("WopiStorage ctor with localStorePath: [" + localStorePath +
+                  "], jailPath: [" + jailPath + "], uri: [" + uri + "].");
     }
 
     FileInfo getFileInfo(const Poco::URI& uri) override;
@@ -132,6 +136,8 @@ public:
         StorageBase(localStorePath, jailPath, uri),
         _authAgent(std::move(authAgent))
     {
+        Log::info("WebDAVStorage ctor with localStorePath: [" + localStorePath +
+                  "], jailPath: [" + jailPath + "], uri: [" + uri + "].");
     }
 
     FileInfo getFileInfo(const Poco::URI& uri) override;
@@ -139,6 +145,7 @@ public:
     std::string loadStorageFileToLocal() override;
 
     bool saveLocalFileToStorage() override;
+
 private:
     std::unique_ptr<AuthBase> _authAgent;
 };


More information about the Libreoffice-commits mailing list