controlErrorLog Icon

controlErrorLog

Closing the window by clicking on the icon

By Serg Shlokov (sergant210)

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 - display 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, 60 seconds.
  • control_frontend - if true the error log will be checked on every site request. If it's changed, the admin will get an email notification. Must be specified the admin email. Not recommended for use on a production site. Use cron task instead.
  • 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.

Serg Shlokov

Support


New in controlErrorLog 1.3.1

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

Information

Released
May 6, 2019
Supported Versions
2.3 – Current
Downloads
8,122
License
GPLv2

More from Serg Shlokov

siteStatistics

Page and user visits statistics

View
AdminTools

Adds some features for MODX administrators and developers.

View
tagElementPlugin

An extra to work with MODX tags.

View
M
modHelpers

Library of helpfull functions for MODX developers.

View