controlErrorLog 1.2.1-pl

controlErrorLog 1.2.1-pl

Released Feb 09, 2018 by sergant210

This Extra adds new features:

- ability to control the error log and to view it in a popup window.

- email notification about changes in the error log. Every time when users load any page controlErrorLog checks the error log for changes. If they exist the notification will be sent to the specified email.

Download 46kb (1524 downloads)
Downloads: 5,457
License: GPLv2
Requires Revolution 2.3.x or greater
Supports mysql

Now you will not miss any errors. If the log is too large you will see a certain number of the last lines you have specified in the system setting "Last lines" (thanks Bob Ray for the idea). By default, 15.

System settings

last_lines - Displays the specified number of last lines when the error log is too large to display.

auto_refresh - Check the state of the error log with the specified frequency.

refresh_freq - Error log refresh frequency in seconds. By default, set to 60 seconds.

control_frontend - If true the email notification is activated. Must be specified the admin email.

admin_email - Admin email to notify about changes in the error log. If empty the notification would not work.

Cron task

Use the script core/components/controlerrorlog/cron/checkerrorlog.php to check the error log for new errors.

Important! The error indicator in the manager interface is displayed only for administrators (sudo) and users with permission "error_log_view".

See details on Github.

Installation Instructions

Install via Package Management

1.2.1-pl

==============

- Moved the "Make a copy"  button to the left.

1.2.0-pl

==============

- Added a button "Make a copy" which makes a copy of the error log with current timestamp in the name.

- Changed the admin notification event from "OnHandleRequest" to "OnWebPageComplete".

1.1.3-pl

==============

- Fixed bug which occurs when the error log is bigger then allowed memory size [#14].

1.1.2-pl

==============

- Code optimization.

- Added cron script for checking the error log (core/components/controlerrorlog/cron/checkerrorlog.php).

1.1.1-pl

==============

- Updated the Dutch lexicon.

1.1.0-pl

==============

- Added control of the error log in the frontend of the site and admin notification.

1.0.5-pl

==============

- Fixed bug with lexicon strings with some CMPs (#6)

1.0.4-pl

==============

- Fixed the bug #5.

1.0.3-pl

==============

- Now the error log is checked for errors every minute (by default). It can be switched off.

- Add a system setting "Last lines".

- Add a system setting "Refresh frequency".

- Add a system setting "Auto refresh".

- Some improvements - now the window closes with animation, refreshing the error log on opening the window.

1.0.2-pl

==============

- Removed the table creation script.

1.0.1-pl

==============

- Changed the appearance of the error indicator (Icons instead of text).

- Now the error indicator is displayed only for users with permission "error_log_view".

- Removed "Error Log" button.

-  Added language support for Dutch.

1.0.0-pl==============

- Initial release

Version Released Author Downloads
8 Versions 1 Contributors 5,462 Downloads
1.2.0-pl Dec, 25 2017 sergant210 338
1.1.3-pl Jun, 30 2017 sergant210 1,040
1.1.2-pl Dec, 11 2016 sergant210 934
1.1.1-pl Apr, 20 2016 sergant210 717
1.1.0-pl Apr, 01 2016 sergant210 171
1.0.5-pl Jul, 31 2015 sergant210 558
1.0.0-pl Jul, 28 2015 sergant210 180