summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-04-22 12:03:49 -0400
committerMichael Meeks <michael.meeks@collabora.com>2019-04-27 16:29:45 +0100
commit9d2d523f8938f504174ee33c5a13e7c52a6209dc (patch)
treeb0ffb39c69668407b335f720b4f7dc0fc26e1cea
parentfee9341d078c21f49e55c855bebaf46400dea514 (diff)
wsd: reduce tile logging from debug to trace levelprivate/mmeeks/uds
These are very frequent and not very useful without the ability to trace them across the system, which are all done at trace level. So it's highly unlikely that these would be used at debug. Change-Id: I479f2ead1bbd2996b9972082e00ebf984072f785 Reviewed-on: https://gerrit.libreoffice.org/71073 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--wsd/DocumentBroker.cpp4
-rw-r--r--wsd/TileCache.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 16db919a8..5d75f2637 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1417,7 +1417,7 @@ void DocumentBroker::handleTileCombinedRequest(TileCombined& tileCombined,
// Forward to child to render.
const std::string req = newTileCombined.serialize("tilecombine");
- LOG_DBG("Sending residual tilecombine: " << req);
+ LOG_TRC("Sending uncached residual tilecombine request to Kit: " << req);
_childProcess->sendTextFrame(req);
}
@@ -1566,7 +1566,7 @@ void DocumentBroker::sendRequestedTiles(const std::shared_ptr<ClientSession>& se
// Forward to child to render.
const std::string req = newTileCombined.serialize("tilecombine");
- LOG_DBG("Some of the tiles were not prerendered. Sending residual tilecombine: " << req);
+ LOG_TRC("Some of the tiles were not prerendered. Sending residual tilecombine: " << req);
_childProcess->sendTextFrame(req);
}
}
diff --git a/wsd/TileCache.cpp b/wsd/TileCache.cpp
index b46d16044..6a5a6e36f 100644
--- a/wsd/TileCache.cpp
+++ b/wsd/TileCache.cpp
@@ -371,7 +371,7 @@ void TileCache::invalidateTiles(int part, int x, int y, int width, int height)
const std::string fileName = tileIterator.path().getFileName();
if (intersectsTile(fileName, part, x, y, width, height))
{
- LOG_DBG("Removing tile: " << tileIterator.path().toString());
+ LOG_TRC("Removing tile: " << tileIterator.path().toString());
FileUtil::removeFile(tileIterator.path());
}
}