Download the PHP package goszowski/laravel-database-log-channel without Composer
On this page you can find all versions of the php package goszowski/laravel-database-log-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download goszowski/laravel-database-log-channel
More information about goszowski/laravel-database-log-channel
Files in goszowski/laravel-database-log-channel
Package laravel-database-log-channel
Short Description Laravel database log channel
License MIT
Homepage https://github.com/goszowski/laravel-database-log-channel
Informations about the package laravel-database-log-channel
Laravel database log channel
The package provides the ability to write logs into the database synchronously or asynchronously, along with other logging channels.
Installation
You can install the package via composer:
You can publish and run the migrations with:
Configure logging.php:
Usage
Data Pruning
Without pruning, the logs table can accumulate records very quickly. To mitigate this, you should schedule the database-logs:prune Artisan command to run daily:
By default, all entries older than 24 hours will be pruned. You may use the hours option when calling the command to determine how long to retain Logs data. For example, the following command will delete all records created over 48 hours ago:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- goszowski
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-database-log-channel with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^7.0|^7.4|^8.37