An interface to preview, download and delete Laravel log files.
Subscribe to the Mailchimp list to be up to date with the community.
- Install via composer:
$ composer require backpack/logmanager
- Then add the service provider to your config/app.php file:
Backpack\LogManager\LogManagerServiceProvider::class,
- Add a "storage" filesystem in config/filesystems.php:
// used for Backpack/LogManager
'storage' => [
'driver' => 'local',
'root' => storage_path(),
],
- [Optional] Configure Laravel to create a new log file for every day, in your .ENV file, if it's not already. Otherwise there will only be one file at all times.
APP_LOG=daily
or directly in your config/app.php file:
'log' => env('APP_LOG', 'daily'),
- [Optional] Publish the lang files if you think you'll need to modify them.
php artisan vendor:publish --provider="Backpack\LogManager\LogManagerServiceProvider"
- [optional] Add a menu item for it in resources/views/vendor/backpack/base/inc/sidebar.blade.php or menu.blade.php:
<li><a href="{{ url('admin/log') }}"><i class="fa fa-terminal"></i> <span>Logs</span></a></li>
Add a menu element for it or just try at your-project-domain/admin/log
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email :author_email instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.