MODX EXTRA

controlErrorLog

Get the error log in a modal window.

Creator: Serg Shlokov (sergant210)

1.4.1-beta (77 KB) Other Versions

Screenshots

About controlErrorLog

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. ### Error log on the frontend It's very useful in development mode. It's available only for users with the "error_log_view" permission. ### System settings * **admin_email** - Admin email to notify about changes in the error log. If empty the notification would not work. * **allow_copy_deletion** - Allow to delete copies of the error log instead of clearing them. * **auto_refresh** - Check the state of the error log with the specified frequency. * **control_frontend** - If true the error log will be shown on the frontend. * **date_format** - Date format in the strftime function style. * **format_output** - Displays error log in formatted form. * **last_lines** - Displays the specified number of last lines when the error log is too large to display. * **refresh_freq** - Error log refresh frequency in seconds. By default, set to 60 seconds. * **tpl** - Smarty template for displaying messages from the error log. * **css_file** - URL of a css file for the frontend. * **js_file** - URL of a javascript file for the frontend. ### 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.

Information

Released
October 12, 2020
Supported Versions
2.3 – Current
Downloads
12,991
License
GPLv2

New in controlErrorLog 1.4.1-beta

1.4.1-beta

  • Added system setting "enable" to manage controlErrorLog in the backend.
  • Fixed a bug with the too large mode.
  • Return back PHP5 support.

1.4.0-beta

  • Added the ability to format the error log content.
  • Now the "control_frontend" system setting is responsible for displaying the error log on the frontend (useful for development mode).

1.3.1-pl

  • Added closing the window by clicking on the icon.

1.3.0-pl

  • Added the ability to control copies of the error log.

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 "errorlogview".
  • Removed "Error Log" button.
  • Added language support for Dutch.

1.0.0-pl

  • Initial release.
More

Current Releases

1.4.2-pl
January 20, 2021
2.3 – Current
1.4.1-beta
October 12, 2020
2.3 – Current
1.4.0-beta
September 3, 2020
2.3 – Current
1.3.1-pl
May 6, 2019
2.3 – Current
1.3.0-pl
October 13, 2018
2.3 – Current
More
View Deprecated Releases

More from Serg Shlokov

ZX

ZoomX

Replaces MODX template engine + RESTful API

Mi

Middlewares

It's a middleware emulator for MODx Revolution.

AdminTools

AdminTools

Adds some features for MODX administrators and developers.

mo

modalConsole

It's a modal console for PHP.