ucb/source/ucp/webdav-neon/NeonLockStore.cxx |    4 ++++
 ucb/source/ucp/webdav-neon/NeonSession.cxx   |    1 +
 ucb/source/ucp/webdav-neon/webdavcontent.cxx |    2 ++
 3 files changed, 7 insertions(+)

New commits:
commit b24d61f43b0fbde918ecf0b05761a4da8a106188
Author:     Thorsten Behrens <thorsten.behr...@cib.de>
AuthorDate: Thu Dec 19 03:42:48 2019 +0100
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Thu Dec 19 03:43:34 2019 +0100

    More diagnostics
    
    Change-Id: Ib29e6422623d407a0526272752c03ab4452b0a9d

diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.cxx 
b/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
index 85b821b2bd87..c2558c5fc8d6 100644
--- a/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonLockStore.cxx
@@ -77,6 +77,8 @@ void TickerThread::execute()
             nCount = nNth;
         }
 
+        SAL_INFO( "ucb.ucp.webdav", "TickerThread: wait." );
+
         TimeValue aTV;
         aTV.Seconds = 0;
         aTV.Nanosec = 1000000000 / nNth;
@@ -230,11 +232,13 @@ void NeonLockStore::refreshLocks()
                 {
                     rInfo.nLastChanceToSendRefreshRequest
                         = nlastChanceToSendRefreshRequest;
+                    SAL_INFO( "ucb.ucp.webdav", "refreshed lock." );
                 }
                 else
                 {
                     // refresh failed. stop auto-refresh.
                     rInfo.nLastChanceToSendRefreshRequest = -1;
+                    SAL_INFO( "ucb.ucp.webdav", "failed to refresh lock." );
                 }
             }
         }
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx 
b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index c1336c07a9c0..6eaa3f542a99 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -862,6 +862,7 @@ void NeonSession::OPTIONS( const OUString & inPath,
     //check if http error is in the 200 class (no error)
     if (theRetVal == NE_OK && ne_get_status(req)->klass != 2) {
         theRetVal = NE_ERROR;
+        SAL_INFO( "ucb.ucp.webdav", "OPTIONS - got an error <" << 
ne_get_status(req)->klass << ">" );
     }
 
     if ( theRetVal == NE_OK )
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx 
b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 0f99aa1fe637..10690b142c89 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -3927,6 +3927,8 @@ Content::ResourceType Content::getResourceType(
                     NeonUri   theUri( rURL );
                     OUString  aHostName  = theUri.GetHost();
                     sal_Int32 nPort      = theUri.GetPort();
+                    SAL_WARN( "ucb.ucp.webdav", "Content::getResourceType 
returned errors, DAV ExceptionCode: " << DAVException::DAV_HTTP_TIMEOUT << ", 
from host: "  << aHostName );
+
                     throw DAVException( DAVException::DAV_HTTP_TIMEOUT,
                                         NeonUri::makeConnectionEndPointString( 
aHostName,
                                                                                
nPort ) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to