Linux 软件免费装

Error Log Dashboard Widget

开发者 Rarst
更新时间 2013年8月6日 22:44
PHP版本: 3.2.1 及以上
WordPress版本: 3.2.1

标签

widget dashboard admin error

下载

1.0 1.0.1

详情介绍:

Logging errors is recommended best practice, even for production site. Checking those logs however might seem like a chore. The widget brings latest entries from error log right to WordPress dashboard:

安装:

  1. Upload error-log-dashboard-widget folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress

屏幕截图:

  • Widget in dashboard.

常见问题:

Which log is monitored?

Log file path is read from error_log PHP setting, which can be configured by WordPress or otherwise. Additional logs can be monitored by filtering list on error_log_widget_logs hook.

Why so many/few lines?

Filter error_log_widget_lines hook to control how many lines you want to see.

Will everyone see the widget?

Only users with manage_options capability (Administrators) will see the widget. You can change this by filtering error_log_widget_capability hook.

更新日志:

1.0.1 1.0