這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Logging with Papertrail

外掛說明

Do you want to use Papertrail for better monitoring your websites? This plugin will enable you to send php-errors to Papertrail even if you do not have the knowledge, time or access to install the proper Papertrail hooks. You only need to install the plugin and enter your Papertrail information. The plugin will automatically send all the php errors and exceptions happening within WordPress to papertrail.

Notes

  • A Papertrail account is needed, which is free for most use cases.
  • Using this plugin will bypas the standard PHP error handler and php exception handler within the script execution of WordPress. When the exception is posted to papertrail the exceptions are retrown.

Resources

Papertrail Logging API
Troy’s send_remote_syslog.php
Php’s error handler
Plugin Handbook
Exception handling
PHP code coverage
Creating admin option pages
WordPress readme.txt

螢幕擷圖

  • Admin settings page (running with WordPress 4.8 here)

安裝方式

  1. Put the plugin in the plugins folder (/wp-content/plugins/)
  2. Activate plugin on the plugin page
  3. Enter your Papertrail information in the settings pages under the settings menu
  4. The system option allows you to change the system name within papertrail
  5. The program option allows you to differentiate within papertrail between diffent programs on one machine with the same name
  6. Choose between udp or tcp for your communication, use udp by default fallback to tcp if udp is not allowed on your environment

常見問題集

Installation Instructions
  1. Put the plugin in the plugins folder (/wp-content/plugins/)
  2. Activate plugin on the plugin page
  3. Enter your Papertrail information in the settings pages under the settings menu
  4. The system option allows you to change the system name within papertrail
  5. The program option allows you to differentiate within papertrail between diffent programs on one machine with the same name
  6. Choose between udp or tcp for your communication, use udp by default fallback to tcp if udp is not allowed on your environment

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Logging with Papertrail〉的開發相關工作。

參與者

將〈Logging with Papertrail〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Added: First release
  • Added: Post errors to papertail
  • Added: Post exceptions to papertrail
  • Added: Admin settings page for saving papertrail information
  • Added: Support custom system and program
  • Added: Support udp and tcp(unenctrypted)
  • Added: simple test settings on the admin page