backpack / logmanager
An interface to preview, download and delete Laravel log files.
Installs: 569 289
Dependents: 5
Suggesters: 0
Security: 0
Stars: 275
Watchers: 17
Forks: 56
Open Issues: 2
Requires
- backpack/crud: ^6.0
- dev-main
- v5.0.2
- v5.0.1
- v5.0.0
- v4.x-dev
- 4.1.x-dev
- v4.0.11
- v4.0.10
- v4.0.9
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- 4.0.0
- v3.x-dev
- 3.0.5
- v3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.3.27
- 2.3.26
- 2.3.25
- 2.3.24
- 2.3.23
- 2.3.22
- 2.3.21
- 2.3.20
- 2.3.19
- 2.3.18
- 2.3.17
- 2.3.16
- 2.3.15
- 2.3.14
- 2.3.13
- 2.3.12
- 2.3.11
- 2.3.10
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-11-24 10:49:22 UTC
README
A simple interface to preview, download and delete Laravel log files.
Install
# install the package with composer composer require backpack/logmanager # [optional] Add a menu item for it # For Backpack v6 php artisan backpack:add-menu-content "<x-backpack::menu-item title='Logs' icon='la la-terminal' :link=\"backpack_url('log')\" />" # For Backpack v5 or v4 php artisan backpack:add-sidebar-content "<li class='nav-item'><a class='nav-link' href='{{ backpack_url('log') }}'><i class='nav-icon la la-terminal'></i> Logs</a></li>"
For a better user experience, make sure Laravel is configured to create a new log file for each day. That way, you can browse log entries by day too. You can do that in your config/logging.php
file.
From a default Laravel configuration, make sure the daily
channel is inside the stack
channel, which is used by default:
'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['daily'], ], 'single' => [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', 'days' => 7, ],
You can change the number of days, or path, level, etc inside this the daily
channel.
Usage
Add a menu element for it or just try at your-project-domain/admin/log
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Overwriting Functionality
If you need to modify how this works in a project:
- create a
routes/backpack/logmanager.php
file; the package will see that, and load your routes file, instead of the one in the package; - create controllers/models that extend the ones in the package, and use those in your new routes file;
- modify anything you'd like in the new controllers/models;
Security
If you discover any security related issues, please email tabacitu@backpackforlaravel.com instead of using the issue tracker.
Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.
Credits
License
Backpack is free for non-commercial use and 49 EUR/project for commercial use. Please see License File and backpackforlaravel.com for more information.
Hire us
We've spend more than 10.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels so much, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.
If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience & enthusiasm for this. This is what we do. Contact us. Let's see if we can work together.