Project

General

Profile

Bug #104057

Updated by Eike Starkmann about 1 month ago

This leads to the InMemoryLogWriter of the admin panel will to be instaciated as new class. Therefor all the logs will not be shown, because they got written in another instance. 

 The problem lies in the LogManager and GeneralUtiliy:makeInstance 

 The line *$logWriter = GeneralUtility::makeInstance($logWriterClassName, $logWriterOptions);*    when    *$logWriterOptions=[]* 

 Then GeneralUtiliy:makeInstance will not get the container: 

 <pre> 
 if (self::$container !== null && $constructorArguments === [] && self::$container->has($className)) { 
             return self::$container->get($className); 
 } 
 </pre>

Back