After installing the log_analyzer extension you have to configure it to your website. Configuration is handled through the Extension Manager through the log_analyzer extension.
Configuration Options
page_uid // UID of the page, where difference_viewer plug-in is inserted. This page will be used to display table of differences.
base_url // Base URL for links in XLS-file. This property should be adjusted according to your website location.
report_period // Definition of time period for sending reports in seconds. Right now is set to twenty-four hours.
be_group// Definition of user’s group, to whom XLS-report will be sent.
Target group - Developers
In log_analyzer/config.php you may perform some advanced configuration.
//Names of the tables and their convenient names, that will be used in “Content record type” list and “Type” column. You may define convenient names for tables from database here.
$tables_names = array(
'pages' => 'Pages',
'tt_news' => 'News',
'tt_content' => 'Content',
);
// names of the fields and their convenient names, that will be used in “Title” column
$tables_fields = array(
'pages' => 'pages.title',
'tt_news' => 'tt_news.title',
'tt_content' => 'pages.title',
'be_users' => 'be_users.realName',
);
//$report_type is used for internal class. This property MUST NOT be changed!!!
$report_type = array(
'be' => 1,
'view_daily' => 2,
'view_custom' => 3,
'xls_mail' => 4,
);
// filter for crontab. You may choose ‘all’ to send reports for all tables, where changes took place, or some specific.
$cron_tables = array(
'all',
//'tt_news',
//'tt_content'
);
// log enable/disable for debug uses
if (!defined(LOGGER))
define('LOGGER',true);
If you want to use log you should chmod log_analyzer plug-in folder to 0775 and possibly create file log in this folder via “touch log”.