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.

FAQ

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);

후기

2023년 10월 31일
My go-to debugging plugin for 500 internal server errors and anything that's trickier to track. Good job.
2022년 11월 19일
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?!
모든 8 평가 읽기

기여자 & 개발자

“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