Skip to content

Commit

Permalink
[DOC] Add information about logging
Browse files Browse the repository at this point in the history
  • Loading branch information
flossels committed Jun 24, 2021
1 parent bbbf716 commit 018a982
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/Admin/Index.rst
Expand Up @@ -118,3 +118,28 @@ If you do not want to activate the language assignment on every page, you can si
[page["uid"] == 1]
config.tx_locate = 1
[end]
.. _admin-logging:

Logging
=======

All critical errors will be logged into a dedicated logfile which is located in the TYPO3 log directory (e.g. `var/logs`) and
contains the phrase locate in its name. If you want to increase the loglevel, you must overwrite the log configuration, for
example like this:

.. code-block:: php
$GLOBALS['TYPO3_CONF_VARS']['LOG']['Leuchtfeuer']['Locate'] = [
'writerConfiguration' => [
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
\TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
'logFileInfix' => 'locate',
],
],
],
];
For further configuration options and more examples take a look at the official TYPO3
`documentation <https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Logging/Configuration/Index.html>`__.

0 comments on commit 018a982

Please sign in to comment.