diff --git a/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php b/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php index cee2d31..d3a4496 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php @@ -10,6 +10,8 @@ namespace TYPO3\CMS\Core\Cache\Backend; * * * The TYPO3 project - inspiring people to share! * * */ +use TYPO3\CMS\Core\Core\Bootstrap; + /** * A caching backend which stores cache entries in files, but does not support or * care about expiry times and tags. @@ -87,6 +89,7 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im * @return void */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) { + error_log(Bootstrap::getInstance()->getRequestId().' setCache'); parent::setCache($cache); if (empty($this->temporaryCacheDirectory)) { // If no cache directory was given with cacheDirectory @@ -192,6 +195,7 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im */ protected function createFinalCacheDirectory($finalCacheDirectory) { try { + error_log(Bootstrap::getInstance()->getRequestId() . ' create ' . $finalCacheDirectory); \TYPO3\CMS\Core\Utility\GeneralUtility::mkdir_deep($finalCacheDirectory); } catch (\RuntimeException $e) { throw new \TYPO3\CMS\Core\Cache\Exception('The directory "' . $finalCacheDirectory . '" can not be created.', 1303669848, $e); diff --git a/typo3/sysext/core/Classes/Error/ErrorHandler.php b/typo3/sysext/core/Classes/Error/ErrorHandler.php index 3bca9d1..6ab6881 100644 --- a/typo3/sysext/core/Classes/Error/ErrorHandler.php +++ b/typo3/sysext/core/Classes/Error/ErrorHandler.php @@ -23,6 +23,8 @@ namespace TYPO3\CMS\Core\Error; * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ +use TYPO3\CMS\Core\Core\Bootstrap; + /** * Global error handler for TYPO3 * @@ -105,6 +107,7 @@ class ErrorHandler implements \TYPO3\CMS\Core\Error\ErrorHandlerInterface { require_once PATH_site . 'typo3/sysext/core/Classes/Exception.php'; require_once PATH_site . 'typo3/sysext/core/Classes/Error/Exception.php'; } + error_log(Bootstrap::getInstance()->getRequestId() . ' exception '); throw new \TYPO3\CMS\Core\Error\Exception($message, 1); } else { switch ($errorLevel) { diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php index 2285f3a..3360bed 100644 --- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php +++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php @@ -26,6 +26,8 @@ namespace TYPO3\CMS\Core\Utility; * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ +use TYPO3\CMS\Core\Core\Bootstrap; + /** * The legendary "t3lib_div" class - Miscellaneous functions for general purpose. * Most of the functions do not relate specifically to TYPO3 @@ -2856,7 +2858,7 @@ Connection: close */ static public function flushDirectory($directory, $keepOriginalDirectory = FALSE) { $result = FALSE; - +error_log(Bootstrap::getInstance()->getRequestId() . ' flush '.$directory); if (is_dir($directory)) { $temporaryDirectory = rtrim($directory, '/') . '.' . uniqid('remove') . '/'; if (rename($directory, $temporaryDirectory)) {