Feat: Override core logger to add timestamps without microseconds

This commit is contained in:
Björn Fromme
2023-07-06 11:19:48 +02:00
parent 5143427ca4
commit fa79ef8c80
6 changed files with 335 additions and 282 deletions
@@ -97,7 +97,7 @@ class SearchController extends ActionController
if (in_array($remoteIp, $ignoreIps)) {
return;
}
/** @var $logger \TYPO3\CMS\Core\Log\Logger */
$logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
$logger->info('Searchresult processed', [
'search' => $search->getQuery(),