Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

A Papertrail log stack for Laravel 5.6 applications.

License

Notifications You must be signed in to change notification settings

martinbean/laravel-papertrail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Papertrail log channel

Requirements

  • Your application must be running Laravel 5.6.

Note: Laravel added a native Papertrail logging channel in version 5.7, so if you are running Laravel 5.7+ this package is unnecessary.

Installation

  1. Set two environment variables: PAPERTRAIL_HOST and PAPERTRAIL_PORT.
  2. Run composer require martinbean/laravel-papertrail
  3. Open config/logging.php and add the following channel:
'papertrail' => [
    'driver' => 'papertrail',
    'level' => 'debug', // Or other desired level
],

Once configured, you can add papertrail to the stack channel (if you’re using it) and any logs will be pushed to your Papertrail account.

Note: The PAPERTRAIL_HOST environment variable should be the full Papertrail hostname, i.e. logs0.papertrailapp.com.

Issues

Open a new Issue on the GitHub repository.

License

Licensed under the MIT License.

About

A Papertrail log stack for Laravel 5.6 applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages