2017 © Pedro Peláez
 

library laratrail

A package to log Laravel apps to Papertrail

image

travoltron/laratrail

A package to log Laravel apps to Papertrail

  • Tuesday, January 9, 2018
  • by travoltron
  • Repository
  • 1 Watchers
  • 2 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

laratrail

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

Laravel has a brilliant handler for exceptions and reporting, and the Monolog implementation is second to none., (*2)

Now, we'll get it piping logs to Papertrail!, (*3)

Other implementations have you editing your rsyslog.conf file, but that's not always an option of you can't SSH into the server, plus, it turns on the firehose of things that aren't necessarily related to your app., (*4)

Installation

Instruction GIF, (*5)

First, add the Travoltron\Laratrail\LaratrailServiceProvider::class, to config/app.php and you're all set., (*6)

Second, call php artisan vendor:migrate to publish the config file., (*7)

End of the gif, I highlighted a url that was in the format of logsX.papertrailapp.com:XXXXX, (*8)

Finally, you'll need these to add to your .env file:, (*9)

  • PAPERTRAIL_DOMAIN to logsX.papertrailapp.com, replacing X with what returns when you add a log destination. Leave off the port and colon.
  • PAPERTRAIL_PORT to the port of your log destination (that's the part after, but not including :).

Thats all., (*10)

For further instructions on logging see the official documentation, (*11)

Change log

Please see CHANGELOG for more information on what has changed recently., (*12)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*13)

Security

If you discover any security related issues, please email ben@travoltron.com instead of using the issue tracker., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

09/01 2018

dev-master

9999999-dev https://github.com/travoltron/laratrail

A package to log Laravel apps to Papertrail

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

The Development Requires

laravel remote logs papertrail travoltron laratrail