log the data arrays

This commit is contained in:
Thomas Müller 2013-10-24 18:13:21 +02:00
parent 88d1e20d56
commit c5b8963b18
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}
}