wsd/DocumentBroker.cpp |    8 ++++++++
 wsd/TileCache.cpp      |    3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

New commits:
commit 2254b71682a7314c1113ce4aa521de786d1d69c1
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Wed Apr 5 00:26:09 2017 -0400

    wsd: some informative logging
    
    Change-Id: I4338f5bd8056d1d66da01efaa1a1fe54f8717793
    Reviewed-on: https://gerrit.libreoffice.org/36116
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 97626af9..cafbd424 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -243,6 +243,10 @@ void DocumentBroker::pollThread()
         }
     }
 
+    LOG_INF("Finished polling doc [" << _docKey << "]. stop: " << _stop << ", 
continuePolling: " <<
+            _poll->continuePolling() << ", TerminationFlag: " << 
TerminationFlag <<
+            ", ShutdownRequestFlag: " << ShutdownRequestFlag << ".");
+
     // Terminate properly while we can.
     //TODO: pass some sensible reason.
     terminateChild("", false);
@@ -839,6 +843,10 @@ size_t DocumentBroker::removeSessionInternal(const 
std::string& id)
             LOG_TRC("Removed " << (readonly ? "readonly" : "non-readonly") <<
                     " session [" << id << "] from docKey [" <<
                     _docKey << "] to have " << count << " sessions.");
+            for (const auto& pair : _sessions)
+            {
+                LOG_TRC("Session: " << pair.second->getName());
+            }
 
             // Let the child know the client has disconnected.
             const std::string msg("child-" + id + " disconnect");
diff --git a/wsd/TileCache.cpp b/wsd/TileCache.cpp
index 4c1d7572..b744eded 100644
--- a/wsd/TileCache.cpp
+++ b/wsd/TileCache.cpp
@@ -53,7 +53,8 @@ TileCache::TileCache(const std::string& docURL,
     _cacheDir(cacheDir)
 {
     LOG_INF("TileCache ctor for uri [" << _docURL <<
-            "] modifiedTime=" << (modifiedTime.raw()/1000000) <<
+            "], cacheDir: [" << _cacheDir <<
+            "], modifiedTime=" << (modifiedTime.raw()/1000000) <<
             " getLastModified()=" << (getLastModified().raw()/1000000));
     File directory(_cacheDir);
     std::string unsaved;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to