Skip to content
Snippets Groups Projects
Commit c5b8963b authored by Thomas Müller's avatar Thomas Müller
Browse files

log the data arrays

parent 88d1e20d
Branches
No related tags found
No related merge requests found
......@@ -144,7 +144,9 @@ class Scanner extends BasicEmitter {
// Only update metadata that has changed
$newData = array_diff($data, $cacheData);
if (isset($newData['etag'])) {
\OCP\Util::writeLog('OC\Files\Cache\Scanner', "!!! No reuse of etag for '$file' !!!", \OCP\Util::ERROR);
$cacheDataString = print_r($cacheData, true);
$dataString = print_r($data, true);
\OCP\Util::writeLog('OC\Files\Cache\Scanner', "!!! No reuse of etag for '$file' !!! \ncache: $cacheDataString \ndata: $dataString", \OCP\Util::ERROR);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment