Title: Logging with Papertrail
Author: nielsschroyen
Published: <strong>25. август 2017.</strong>
Last modified: 25. август 2017.

---

Претражи додатке

![](https://ps.w.org/logging-with-papertrail/assets/banner-772x250.png?rev=1719607)

Овај додатак **није испробан са последња 3 главна издања Вордпреса**. Можда се више
не одржава нити подржава и може имати проблема са усаглашеношћу када се користи 
са новијим издањима Вордпреса.

![](https://ps.w.org/logging-with-papertrail/assets/icon-256x256.png?rev=1719607)

# Logging with Papertrail

 Аутор: [nielsschroyen](https://profiles.wordpress.org/nielsschroyen/)

[Преузми](https://downloads.wordpress.org/plugin/logging-with-papertrail.1.0.0.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/logging-with-papertrail/#description)
 * [Рецензије](https://sr.wordpress.org/plugins/logging-with-papertrail/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/logging-with-papertrail/#installation)
 * [Развој](https://sr.wordpress.org/plugins/logging-with-papertrail/#developers)

 [Подршка](https://wordpress.org/support/plugin/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](http://help.papertrailapp.com/kb/configuration/configuring-centralized-logging-from-php-apps/).
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](https://https://papertrailapp.com/) account is needed, which is
   free for most use cases.
 * Using this plugin will bypas the standard [PHP error handler](http://php.net/manual/en/function.set-error-handler.php)
   and [php exception handler](http://php.net/manual/en/function.set-exception-handler.php)
   within the script execution of WordPress. When the exception is posted to papertrail
   the exceptions are retrown.

#### Resources

[Papertrail Logging API](https://github.com/sc0ttkclark/papertrail)
 [Troy’s send_remote_syslog.php](https://gist.github.com/troy/2220679)
[Php’s error handler](http://php.net/manual/en/function.set-error-handler.php) [Plugin Handbook](https://developer.wordpress.org/plugins)
[Exception handling](https://stackoverflow.com/questions/5551668/what-are-the-best-practices-for-catching-and-re-throwing-exceptions)
[PHP code coverage](https://github.com/codecov/example-php) [Creating admin option pages](https://codex.wordpress.org/Creating_Options_Pages)
[WordPress readme.txt](https://github.com/codecov/example-php)

## Снимци екрана

[⌊Admin settings page (running with WordPress 4.8 here)⌉⌊Admin settings page (running
with WordPress 4.8 here)⌉[

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“ је софтвер отвореног кода. Следећи људи су допринели овом
додатку.

Сарадници

 *   [ nielsschroyen ](https://profiles.wordpress.org/nielsschroyen/)

[Преведите „Logging with Papertrail“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/logging-with-papertrail)

### Заинтересовани сте за развој?

[Прегледајте кôд](https://plugins.trac.wordpress.org/browser/logging-with-papertrail/),
погледајте [SVN складиште](https://plugins.svn.wordpress.org/logging-with-papertrail/)
или се претплатите на [дневник развоја](https://plugins.trac.wordpress.org/log/logging-with-papertrail/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/logging-with-papertrail/?limit=100&mode=stop_on_copy&format=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

## Мета

 *  Издање **1.0.0**
 *  Последње ажурирање **пре 9 година**
 *  Активних постављања **10+**
 *  Издање Вордпреса ** 3.9.19 или новије **
 *  Испробано до **4.8.34**
 *  Језик
 * [English (US)](https://wordpress.org/plugins/logging-with-papertrail/)
 * Ознаке
 * [error logging](https://sr.wordpress.org/plugins/tags/error-logging/)[papertrail](https://sr.wordpress.org/plugins/tags/papertrail/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/logging-with-papertrail/advanced/)

## Оцене

Још нису послате рецензије.

[Ваша рецензија](https://wordpress.org/support/plugin/logging-with-papertrail/reviews/#new-post)

[Види све рецензије](https://wordpress.org/support/plugin/logging-with-papertrail/reviews/)

## Сарадници

 *   [ nielsschroyen ](https://profiles.wordpress.org/nielsschroyen/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/logging-with-papertrail/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](https://www.paypal.me/NielsSchroyen)