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

1.0.1 2015-09-16 13:21 UTC

This package is auto-updated.

Last update: 2024-10-14 11:02:26 UTC


README

Latest Version on Packagist Installations via composer per month Installations via composer total

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";
}