WP Debug Log — Configuration Tool

Описание

A simple debug helper plugin. Check Debug Log from the dashboard. Admin Email notification can also be set. It will trigger an email notification using wp-cron job if there is any data in the log file. By default, it is turned off.
Using WP_DEBUG_DISPLAY along with WP_DEBUG, debug messages can be controlled to show whether inside HTML pages or not. By default,it is turned off so users will not see any debug or error information.

  • Enable or disable debug constants with a single click.

  • See different highlighted log levels.

  • Set custom log file paths for loading debug logs.
    > apply_filters(‘wp_debuglog_log_file_path’, $file);
  • Accessible from the dashboard’s WordPress admin top nav bar.
  • Simplifies the debugging process by managing to log debug without modifying the wp-config.php file directly.

Constants Available

  1. WP_DEBUG :: Default Value : true
  2. WP_DEBUG_LOG:: Default Value : true
  3. SCRIPT_DEBUG :: Default Value : false
  4. WP_DEBUG_DISPLAY :: Default Value : false
  5. SAVEQUERIES:: Default Value : false

Please note: Constant values will be restored on plugin deactivation as it was before activating the plugin.

Скриншоты

  • ** Plugin Settings **
  • ** Debug Log **

Установка

  1. Upload the plugin files to the /wp-content/plugins/debug-log-config-tool directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Tools-> Debug Logs screen to see the debug logs or access it from the top navbar.

Часто задаваемые вопросы

Do I need to edit wp-config.php fie ?

No activate the plugin and turn off/on debug constants from dashboard

Can I add more debug constants ?

Currently, you can use the filter apply_filters(‘dlct_constants’, $constants);

Отзывы

19.11.2022
it's exactly what i am after for. instead of connecting to ftp, opening wp-config.php, editing the constants, saving, uploading, reloading site, opening debug.log and deleting it and so on … you simple enable the toggle and look into the logs right in wordpress with nice styling so you can easily distinguish between warning and errors. in the future i would like to see more toggles for instance for WP_DEBUG_DISPLAY. for some reason this is missing?!
Посмотреть все 7 отзывов

Участники и разработчики

«WP Debug Log — Configuration Tool» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «WP Debug Log — Configuration Tool» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

= 1.0.0
-Initial Version

= 1.4
— Clean UI
— Refresh Log
— Email Notification
= 1.4.2
— New Constants
— Removed database dependency