Eventix / RequestLog by Grisgruis
forked from MedAppNL/RequestLog

Provides middleware to log full request and response to some storage instance.
2,339
0
3
Package Data
Maintainer Username: Grisgruis
Maintainer Contact: mart@pharmit.nl (Mart Pluijmaekers)
Package Create Date: 2016-06-13
Package Last Update: 2016-12-16
Language: PHP
License: MIT
Last Refreshed: 2024-05-18 03:08:59
Package Statistics
Total Downloads: 2,339
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 1
Total Open Issues: 0

Installation

Make sure Elasticsearch is running and a requests index exists (For Eventix Team: https://bitbucket.org/eventix/eventix-3.0/wiki/Request%20Logging%20/%20Elasticsearch)

Add Eventix\RequestLog\RequestLogServiceProvider::class to config/app.php (ServiceProviders) Add \Eventix\RequestLog\Middleware\RequestLogMiddleware::class to app/http/Kernel.php to the global middleware

Add to your .env

REQUEST_LOG_HOST=localhost:9200
REQUEST_LOG=true