log the data arrays
This commit is contained in:
parent
88d1e20d56
commit
c5b8963b18
1 changed files with 3 additions and 1 deletions
4
lib/private/files/cache/scanner.php
vendored
4
lib/private/files/cache/scanner.php
vendored
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue