loghouse-io / loghouse-symfony
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
This package is auto-updated.
Last update: 2024-10-29 06:12:54 UTC
README
LogHouse is a logging management system that allows you to store hundreds of gigabytes of logs with almost no configuration and with blazing fast ingestion and querying speed.
Installation
You can install the package via composer:
composer require loghouse-io/loghouse-symfony
Usage
- You need to add 2 parameters to the .env file
LOGHOUSE_SYMFONY_ACCESS_TOKEN=${LOGHOUSE_SYMFONY_ACCESS_TOKEN}
LOGHOUSE_SYMFONY_BUCKET_ID=${LOGHOUSE_SYMFONY_BUCKET_ID}
- You must register a new service in services.yaml
#services.yaml services: ... LoghouseIo\LoghouseSymfony\Handlers\LoghouseSymfonyHandler: arguments: $accessToken: '%env(LOGHOUSE_SYMFONY_ACCESS_TOKEN)%' $bucketId: '%env(LOGHOUSE_SYMFONY_BUCKET_ID)%'
- And then set up a new handler in monolog.yaml
#monolog.yaml monolog: ... handlers: ... loghouse: type: service id: LoghouseIo\LoghouseSymfony\Handlers\LoghouseSymfonyHandler
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
Credits
License
The MIT License (MIT). Please see License File for more information.