Bug #56334

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Bug #52949: Speed decrease since 4.5

Bug #56307: Findings from Bootstrap/PackageManager/ClassLoader analyses

Prevent inclusion of LogLevel due to ConfigDefault referral

Added by Steffen Ritter over 1 year ago. Updated 25 days ago.

Status:New Start date:2014-02-26
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:Performance Spent time: -
Target version:-
TYPO3 Version:7 Is Regression:No
PHP Version: Sprint Focus:
Complexity:easy

History

#1 Updated by Stephan Großberndt 25 days ago

typo3/sysext/core/Configuration/DefaultConfiguration.php

    'LOG' => array(
        'writerConfiguration' => array(
            \TYPO3\CMS\Core\Log\LogLevel::WARNING => array(
                \TYPO3\CMS\Core\Log\Writer\FileWriter::class => array(
                    'logFile' => 'typo3temp/logs/typo3.log'
                )
            )
        ),
        'deprecated' => array(
            'writerConfiguration' => array(
                \TYPO3\CMS\Core\Log\LogLevel::WARNING => array(
                    \TYPO3\CMS\Core\Log\Writer\FileWriter::class => array(
                        'logFile' => 'typo3conf/deprecation.log'
                    )
                )
            )
        )
    ),

Because of the LogLevels being configured as constants instead of values the class LogLevel is loaded on every bootstrap of the system even if nothing ever will be logged since config default is loaded everytime

#2 Updated by Stephan Großberndt 25 days ago

  • Category set to Performance
  • Priority changed from Should have to Could have
  • TYPO3 Version changed from 6.2 to 7
  • Complexity set to easy

Also available in: Atom PDF