cliffparnitzky / backend-logs
Provides a special functionality to display error.log, email.log and other configured logfiles in Contao backend.
Installs: 62
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 0
Type:contao-module
Requires
- php: >=5.3
- contao-community-alliance/composer-plugin: ~2.0
- contao/core: >=3.2.0,<3.6
Conflicts
- contao/core: 3.4.0,3.4.1,3.4.2
README
Contao Extension: BackendLogs
Provides a special functionality to display error.log, email.log and other configured logfiles in Contao backend.
Installation
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
Tracker
https://github.com/cliffparnitzky/BackendLogs/issues
Compatibility
- min. Contao version: >= 3.2.0
- max. Contao version: < 3.6.0
Dependency
There are no dependencies to other extensions, that have to be installed.
Additional configuration
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"; }