Answer Posted / nafees ahmad
Logging the errors in a web application helps to track them and in planning a strategy for removing them.
The log information can be configured in the web application in config/app.php file. Please note the following points while dealing with Error Log in Laravel -
Laravel uses monolog PHP logging library.
The logging parameters used for error tracking are single, daily, syslog and errorlog.
For example, if you wish to log the error messages in log files, you should set the log value in your app configuration to daily as shown in the command below -
'log' => env('APP_LOG',’daily’),
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to get, set cookies in laravel?
Which js framework is best with laravel?
How to install laravel by composer?
Explain some benefits of laravel over other php frameworks.
Explain Events and Listeners ?
How can we use the custom table in laravel?
In laravel, what is guarded attribute in a model?
How do I make all of my forms bootstrap opinionated?
What is a Middleware Parameters ?
What is laravel tinker?
What do you know about laravel eloquent?
How to do 301 redirects in laravel?
How to use joins in laravel?
What is use of pluck in laravel?
What is dependency injection laravel?