Error Log Monitor

Descripción

Este plugin añade un widget al escritorio que muestra los últimos mensajes de tu registro de errores de PHP. También puede enviarte avisos por correo electrónico acerca de los errores recién registrados.

Características

  • Detecta automáticamente la ubicación del registro de errores.
  • Explica cómo configurar el registro de errores de PHP si aún no está activado.
  • El número de registros mostrados es configurable.
  • Te envía avisos por correo electrónico acerca de los errores registrados (opcional).
  • Correo electrónico y frecuencia configurable.
  • Puedes vaciar el archivo de registro fácilmente.
  • El widget del escritorio solo es visible para los administradores.
  • Optimizado para funcionar bien incluso con archivos de registro muy grandes.

Uso

Una vez que hayas instalado el plugin, ve al escritorio y activa el widget «Registro de errores de PHP» a través del panel «Opciones de pantalla». El widget debería mostrar automáticamente las últimas 20 líneas de tu registro de errores de PHP. Si ves un mensaje de error como «El registro de errores está deshabilitado», sigue las instrucciones que se muestran para configurar el registro de errores.

Los avisos por correo electrónico están desactivados por defecto. Para activarlos, haz clic en el enlace «Configurar» en la esquina superior derecha del widget e introduce tu correo electrónico en el campo de texto «Envíar correos electrónicos de forma periódica con los errores registrados a:». Si lo deseas, también puedes cambiar la frecuencia de los correos electrónicos seleccionando el intérvalo de tiempo mínimo entre ellos, desde el menú desplegable «Cada cuanto enviar correo electrónico».

Capturas

  • El widget «Registro de errores de PHP» ha sido añadido por el plugin.
  • Pantalla de configuración del widget del escritorio.

Instalación

Sigue estos pasos para instalar el plugin en tu sitio:

  1. Descarga el archivo .zip a tu computadora.
  2. Ve a Plugins -> Añadir nuevo y selecciona la opción «Subir».
  3. Sube el archivo .zip
  4. Activa el plugin a través de la página «Plugins -> Plugins instalados».
  5. Ve al escritorio y activa el widget «Registro de errores de PHP» a través del panel «Opciones de Pantalla».
  6. (Opcional) Haz clic en el enlace «Configurar» en la esquina superior derecha del widget para configurar el plugin.

Reseñas

23 de enero de 2023
It is certainly useful and has a few options but installation is manual. It doesn't have any display log option to view filtered out messages. Email notification doesn't seem to work. I'm not sure about those people complaining about no clean uninstall, I don't see how they could expect that given that there was no installation done by the plugin (therefore no "clean install" either)...
Leer todas las 46 reseñas

Colaboradores y desarrolladores

«Error Log Monitor» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Error Log Monitor» ha sido traducido a 7 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Error Log Monitor» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.7.7

  • Updated the Freemius SDK to the latest version.
  • Tested with WP 6.3-beta.

1.7.6

  • Updated the Freemius SDK to version 2.5.8.
  • Tested with WP 6.2.2 and 6.3-alpha.

1.7.5

  • Fixed a visual bug where the log size limit field was too narrow in the most recent WP version.
  • Tested with WP 6.2.

1.7.4

  • Updated the Freemius SDK to version 2.5.3 in the hopes of fixing a couple of PHP 8.1 deprecation notices that appear to be triggered by the SDK.

1.7.3

  • Fixed a number of PHP 8 deprecation warnings and compatibility issues.
  • Tested with WP 6.1.

1.7.2

  • Added an «Ignored regular expressions» setting. Enter one or more regex patterns in the box and the plugin will hide log entries that match any of those patterns.

1.7.1

  • Added a «Clear Fixed Messages» button.
  • Fixed a scheduling bug where, in certain configurations, the plugin would send some email notifications too late.
  • Corregido un problema de seguridad.
  • Tested with WP 5.9.1 and 6.0-alpha (briefly).

1.7

  • Added a «mark as fixed» option. Like the «ignore» option, «mark as fixed» hides all existing copies of a specific error. However, if the same error happens again in the future, the plugin will make it visible again.
  • Added a «Clear Ignored Messages» button. It un-ignores all previously ignored messages.
  • Fixed a couple of PHP 8 deprecation warnings about a required parameter following an optional parameter.
  • Tested with WP 5.6.1 and 5.7-beta.

1.6.13

  • Fixed «Deprecated: contextual_help is deprecated since version 3.3.0». While this plugin doesn’t use the «contextual_help» filter, it includes a copy of scbFramework that can also be used by other active plugins. Some of those plugins could run code in scbFramework that used «contextual_help». This deprecated code has now been removed.
  • Tested with WP 5.5.3.

1.6.12

  • Fixed recoverable fatal errors being incorrectly presented as an unknown error type.
  • Added text domain to a UI message that was missing it.
  • Updated the Freemius SDK to version 2.4.1.
  • Tested with WP 5.5.1 and 5.6-beta.

1.6.11

  • Changed the minimum required PHP version to 5.6.
  • Tested up to WP 5.5.

1.6.10

  • Corregido un fallo por el cual el plugin podía congelarse o bloquearse al intentar analizar entradas de registro extremadamente grandes (por ejemplo, más de un millón de caracteres).
  • Actualizado el SDK de Freemius a la versión 2.3.2.
  • Probado hasta WP 5.4.1.

1.6.9

  • Se corrigió el error «call to undefined function get_blog_list()» al intentar acceder al administrador de la red en un sitio que no es Multisitio.

1.6.8

  • Corregido un conflicto con WP-PageNavi, nuevamente. La corrección incluida en la versión anterior no fue completamente efectiva.

1.6.7

  • Corregido un conflicto con WP-PageNavi que podía causar un error fatal.
  • Actualizado el SDK de Freemius a la última versión, que puede corregir algunos problemas relacionados con Freemius.
  • Probado hasta WP 5.3.

1.6.6

  • Se mejoró la forma en que el plugin muestra seguimientos de pila truncadas. Ahora ya no debería mostrar el último registro como un bloque de texto muy alto y estrecho.
  • Añadida una solución alternativa para conflictos con plugins que usan versiones antiguas de scbFramework.
  • Probado hasta WP 5.2.

1.6.5

  • Fixed a bug where it wasn’t possible to filter out log entries that didn’t match any of the standard severity levels (notice, warning, error, etc). Now you can hide uncategorized log entries by unchecking the «Other» option in filter settings.
  • Corregido un problema de seguridad.
  • Probado con la versión final de WP 5.1.

1.6.4

  • Changed plugin configuration permissions. Now you need to have the «install_plugins» capability to change the configuration. Previous versions used the «update_core» capability.
  • Fixed a bug where users who couldn’t change plugin configuration were still shown a useless «Submit» button.
  • Probado con la versión WP 5.1-alpha.

1.6.3

  • Added a workaround for a conflict with «Go Fetch Jobs (for WP Job Manager)» 1.4.6.
  • Probado con la versión final de WP 5.0.

1.6.2

  • Added a setup wizard that helps new users create a log file and enable error logging. You can still do it manually you prefer. The setup notice will automatically disappear if logging is already configured.
  • Fixed a bug where activating the plugin on individual sites in a Multisite network could, in some cases, trigger a fatal error.
  • Additional testing with WP 5.0-alpha.

1.6.1

  • Fixed the «upgrade» link being broken in certain configurations.

1.6

  • Added a colored dot showing the severity level to each error message. Fatal errors are red, warnings are orange, notices and strict-standards messages are grey, and custom or unrecognized messages are blue.
  • Added a new setting for email notifications: «how often to check the log for new messages».
  • Added a notice explaining how to configure WordPress to log all types of errors (including PHP notices) instead of just fatal errors and warnings.
  • Added Freemius integration.
  • Added a link to the Pro version to bottom of the widget.
  • Improved parsing of multi-line log entries. Now the plugin will show all of the lines as part of the same message instead of treating every line as an entirely separate error.
  • Improved stack trace formatting.
  • In Multisite, the dashboard widget now also shows up in the network admin dashboard.
  • Changed permissions so that only Super Admins can change plugin settings or clear the log file. Regular administrators can still see the widget.

1.5.7

  • The widget now displays log timestamps in local time instead of UTC.
  • Fixed a runtime exception «Backtrack buffer overflow» that was thrown when trying to parse very long log entries.

1.5.6

  • The dashboard widget now shows the log file size and the «Clear Log» button even when all entries are filtered out.
  • Probado con WP 4.9 y WP 5.0-alpha.

1.5.5

  • Fixed two PHP notices: «Undefined index: schedule in […]Cron.php on line 69» and «Undefined index: time in […]Cron.php on line 76».
  • Added «error_reporting(E_ALL)» to the example code to log all errors and notices.
  • Tested up to WP 4.9-beta2.

1.5.4

  • Fixed the error «can’t use method return value in write context». It was a compatibility issue that only affected PHP versions below 5.5.

1.5.3

  • You can send email notifications to multiple addresses. Just enter a comma-separated list of emails.
  • Made sure that email notifications are sent no more often than the configured frequency even when WordPress is unreliable and triggers cron events too frequently.
  • Tested up to WP 4.9-alpha-40871.

1.5.2

  • Fixed a fatal error caused by a missing directory. Apparently, SVN externals don’t work properly in the wordpress.org plugin repository.

1.5.1

  • Added an option to ignore specific error messages. Ignored messages don’t show up in the dashboard widget and don’t generate email notifications, but they stay in the log file.
  • Added limited support for parsing stack traces generated by PHP 7.
  • Made the log output more compact.
  • Improved log parsing performance.
  • Fixed an «invalid argument supplied for foreach» warning in scbCron.

1.5

  • Added a severity filter. For example, you could use this feature to make the plugin send notifications about fatal errors but not warnings or notices.
  • Added limited support for XDebug stack traces. The stack trace will show up as part of the error message instead of as a bunch of separate entries. Also, stack trace items no longer count towards the line limit.

1.4.2

  • Hotfix for a parse error that was introduced in version 1.4.1.

1.4.1

  • Fixed a PHP compatibility issue that caused a parse error in Plugin.php on sites using an old version of PHP.

1.4

  • Added an option to send an email notification when the log file size exceeds the specified threshold.
  • Fixed a minor translation bug.
  • The widget now shows the full path of the WP root directory along with setup instructions. This should make it easier to figure out the absolute path of the log file.
  • Tested with WP 4.6-beta3.

1.3.3

  • Added i18n support.
  • Added an elm_show_dashboard_widget filter that lets other plugins show or hide the error log widget.
  • Tested with WP 4.5.1 and WP 4.6-alpha.

1.3.2

  • Tested up to WP 4.5 (release candidate).

1.3.1

  • Added support for Windows and Mac style line endings.

1.3

  • Added an option to display log entries in reverse order (newest to oldest).
  • Added a different error message for the case when the log file exists but is not accessible.
  • Only load the plugin in the admin panel and when running cron jobs.
  • Fixed the error log sometimes extending outside the widget.
  • Tested up to WP 4.4 (alpha version).

1.2.4

  • Tested up to WP 4.2 (final release).
  • Added file-based exclusive locking to prevent the plugin occasionally sending duplicate email notifications.

1.2.3

  • Tested up to WP 4.2-alpha.
  • Refreshing the page after clearing the log will no longer make the plugin to clear the log again.

1.2.2

  • Updated Scb Framework to the latest revision.
  • Tested up to WordPress 4.0 beta.