Provides a special functionality to display error.log, email.log and other configured logfiles in Contao backend.
Install the extension via composer: cliffparnitzky/backend-logs.
If you prefer to install it manually, download the latest release here: https://github.com/cliffparnitzky/BackendLogs/releases
https://github.com/cliffparnitzky/BackendLogs/issues
- min. Contao version: >= 3.2.0
- max. Contao version: < 3.6.0
There are no dependencies to other extensions, that have to be installed.
Add an additional logfile configuration to system/config/localconfig.php
:
$GLOBALS['TL_LOGFILES']['logfileMylog'] = array ('logfile' => '/system/logs/mylog.log', 'rows' => 30);
Add additional logfile config translations to system/config/langconfig.php
:
if ($GLOBALS['TL_LANGUAGE'] == 'de')
{
$GLOBALS['TL_LANG']['MOD']['logfileMylog'] = "Mein Logfile";
}
elseif ($GLOBALS['TL_LANGUAGE'] == 'en')
{
$GLOBALS['TL_LANG']['MOD']['logfileMylog'] = "My logfile";
}