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
What are cookies? How to get, set, distroy cookies in laravel?
What are service providers in laravel?
How to check table is exists or not in our database using laravel?
List types of the relationships supported by laravel?
What is meant by Forms in Laravel ?
What is package in laravel? Name some laravel packages?
What is laravel vue?
What are the example of services?
What is observer in laravel?
What is the best package to set up billing and subscription with stripe and braintree?
In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?
What is laravel orm?
What is csrf protection token?
What is a Composer command ?
How to serve sites on valet?