[BUGFIX] FAL spams syslog
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Jul 2012 18:27:20 +0000 (20:27 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Jul 2012 18:33:34 +0000 (20:33 +0200)
Two calls to t3lib_div::syslog() in the FAL driver registry are
executed for every call. This spams the syslog with default logging
settings. The calls look like a leftover from development and
are removed.

Change-Id: I6a0131fc569c6e62926a91e78888d5d7aa7665ab
Resolves: #38566
Releases: 6.0
Reviewed-on: http://review.typo3.org/12521
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/file/Driver/DriverRegistry.php

index 9cd8d89..9b83ba4 100644 (file)
@@ -48,11 +48,6 @@ class t3lib_file_Driver_DriverRegistry implements t3lib_Singleton {
         * Creates this object.
         */
        public function __construct() {
-               t3lib_div::sysLog(
-                       't3lib_file_Driver_DriverRegistry::__construct: ' . t3lib_utility_Debug::debugTrail(),
-                       't3lib_file_Driver_DriverRegistry'
-               );
-
                $driverConfigurations = $GLOBALS['TYPO3_CONF_VARS']['SYS']['fal']['registeredDrivers'];
 
                foreach ($driverConfigurations as $shortName => $driverConfig) {
@@ -97,8 +92,6 @@ class t3lib_file_Driver_DriverRegistry implements t3lib_Singleton {
                        'flexFormDS' => $flexFormDataStructurePathAndFilename
                );
 
-               t3lib_div::sysLog('Registered driver ' . $shortName . ' (' . $className . ') ' . t3lib_utility_Debug::debugTrail(), 't3lib_file_Driver_DriverRegistry');
-
                return TRUE;
        }