Logging with Papertrail Logging with Papertrail

Logging with Papertrail

Created by: nielsschroyen

Rating:
Downloaded: 860 times

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

Screenshots

  • Admin settings page (running with WordPress 4.8 here)

Categories

Get New Themes & Resources