title: TYPO3: How to configure $GLOBALS['TYPO3_CONF_VARS']['LOG'] correclty
body: <p>I'm trying to congiure logging for one custom class in TYPO3 using the configuration of the logging framework as explained here:</p>
  
  <p><a href="https://docs.typo3.org/m/typo3/reference-coreapi/8.7/en-us/ApiOverview/Logging/Configuration/Index.html" rel="nofollow noreferrer">https://docs.typo3.org/m/typo3/reference-coreapi/8.7/en-us/ApiOverview/Logging/Configuration/Index.html</a></p>
  
  <p>I want to configure logging for every class in </p>
  
  <p>\Aip\Taglialacoda\Task\</p>
  
  <p>With no configuration log messages are written in the log file under typo3temp\var\log</p>
  
  <p>I have made several tries like this one:</p>
  
  <pre><code>$GLOBALS['TYPO3_CONF_VARS']['LOG']['Aip']['Taglialacoda']['Task']['writerConfiguration'] = [
      TYPO3\CMS\Core\Log\LogLevel::INFO =&gt; [
          TYPO3\CMS\Core\Log\Writer\SyslogWriter::class =&gt; [],
      ]
  ];
  </code></pre>
  
  <p>The result is always the same: I cannot find messages logged anywhere.
  The class I wrote is a task so it extends AbstractTask and has its own logger.
  For this reason I have istantiated another logger (I don't want that every task write into SYS LOG) 
  As I said with no configuration the new logger writes into the log file.
  Adding a mistyped configuration the class throws an exception (so the configuration is taken into account).
  Using the configuration above the log message seems to disappear.</p>