kuborgh/logentries-bundle
Symfony bundle that integrates Logentries (Rapid7) logging into your app, wiring a Monolog handler to ship log messages over token-based TCP/UDP sockets with configurable levels and per-environment settings.
Start by reviewing the package README and publishing its config if it provides a config file. The main change in v1.0.3 is that the UDP transport host is configurable, so look first at the UDP transport/connection settings in the package config.
Typical first use case: sending telemetry/logging/analytics events over UDP to a collector that is not on localhost, such as a Syslog, StatsD, or custom UDP listener.
Set the UDP host via config or environment:
// config/<package>.php
'udp' => [
'host' => env('PACKAGE_UDP_HOST', '127.0.0.1'),
'port' => env('PACKAGE_UDP_PORT', 514),
],
Then configure the package to use the UDP transport and send a simple test event from a Laravel command or tinker session. Verify receipt on the collector side before wiring it into application flows.
Use environment-specific UDP hosts so local development, staging, and production can target different collectors:
PACKAGE_UDP_HOST=udp-collector.internal
PACKAGE_UDP_PORT=514
Common day-to-day patterns:
Keep host/port configuration in config files and environment variables rather than hard-coding it in application code. This lets infrastructure changes happen without code deployments.
.env or config, run php artisan config:clear locally and ensure production deploys rebuild config cache with php artisan config:cache.127.0.0.1, production may appear configured but send only to the app container itself. Always set an explicit host outside local development.tcpdump, collector logs, or a local UDP listener such as nc -ul <port> to confirm packets leave the app and arrive at the collector.How can I help you explore Laravel packages today?