eventix/requestlog

Provides middleware to log full request and response to some storage instance.

Installs: 2 339

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

pkg:composer/eventix/requestlog

dev-master 2016-12-16 13:59 UTC

This package is auto-updated.

Last update: 2025-09-18 05:22:04 UTC


README

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