http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692021-11-10T07:16:09ZTYPO3 ForgeTYPO3 Core - Bug #95927: scheduler task (TestTask) is not logging /creating log entries when executed (v10 and v11)http://forge.typo3.org/issues/95927?journal_id=4572542021-11-10T07:16:09ZGeorg Ringer
<ul><li><strong>TYPO3 Version</strong> changed from <i>11</i> to <i>10</i></li></ul> TYPO3 Core - Bug #95927: scheduler task (TestTask) is not logging /creating log entries when executed (v10 and v11)http://forge.typo3.org/issues/95927?journal_id=4572992021-11-10T15:16:27ZGeorg Ringer
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>The logging framework (See <a class="external" href="https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Logging/Index.html">https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Logging/Index.html</a> for more information) does not automatically log into the database (which you know from the log backend module).</p>
<p>if you either change the <code>->info</code> to <code>->warning</code> in the <code>TestTask</code> or adopt the configuration in the <code>LocalConfiguration</code> or <code>AdditionalConfiguration</code> you will get an entry in var/log/typo3_*****.log like</p>
<code>
Wed, 10 Nov 2021 16:12:27 +0100 [WARNING] request="e1ec9048982ac" component="TYPO3.CMS.Scheduler.Task.AbstractTask": [TYPO3\CMS\Scheduler\Example\TestTask]: Test email sent to "fo@bar.com" - {"email":"fo@bar.com"}
</code>
<p>does this information help and can I close the issue?</p> TYPO3 Core - Bug #95927: scheduler task (TestTask) is not logging /creating log entries when executed (v10 and v11)http://forge.typo3.org/issues/95927?journal_id=4573342021-11-10T18:45:17ZMarco H
<ul><li><strong>Priority</strong> changed from <i>Should have</i> to <i>-- undefined --</i></li></ul><p>Oh, you're right. I wasn't aware that the logs are independent from each other.<br />So it was my fault - you can close this, thank you for the explanation.</p> TYPO3 Core - Bug #95927: scheduler task (TestTask) is not logging /creating log entries when executed (v10 and v11)http://forge.typo3.org/issues/95927?journal_id=4573792021-11-10T23:20:00ZGeorg Ringer
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul>