Actions
Bug #84654
closedIf problem with creation of logger, an Exception is thrown: A cache with identifier "assets" does not exist
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2018-04-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Reproduced with current master (9.2-dev).
Reproduce¶
- Create logging configuration that uses typo3temp/logs for Logger
- Remove write access for typo3temp/logs for Webserver `chmod 440 typo3temp/logs`
- Reload backend, click "Log module"
(same scenario as in issue #84646)
Exception¶
Configuration in AdditionalConfiguration.php¶
$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = [
\TYPO3\CMS\Core\Log\LogLevel::ERROR => [
'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
'logFile' => 'typo3temp/logs/typo3-error.log'
]
],
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
'logFile' => 'typo3temp/logs/typo3-debug.log'
]
]
];
Files
Actions