I have an Laravel application hosted on Third Party Server. The application is in production and produces many PHP Errors daily based on how users are using it.
I want a better way to read the laravel.log file, instead of doing SSH into the Server and reading it through VIM.
Please advice on what are some other better way to read errors on log file.
You can see the generated log entries in storage/logs/laravel. log file.
The Laravel logging facilities provide a simple layer on top of the powerful Monolog library. By default, Laravel is configured to create daily log files for your application which are stored in the storage/logs directory. You may write information to the log like so: Log::info('This is some useful information.
Laravel logging is based on "channels". Each channel represents a specific way of writing log information. For example, the single channel writes log files to a single log file, while the slack channel sends log messages to Slack. Log messages may be written to multiple channels based on their severity.
You can use this package https://github.com/rap2hpoutre/laravel-log-viewer
I am using it in my project and it's rather useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With