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 do you mean by route groups used in laravel 5?
What are the 3 service provider types?
What is route model binding in laravel?
Explain how to add additional sites in homestead environment?
How to Storing Session Data in Laravel ?
How secure is laravel?
Explain how to do 301 redirects in laravel?
How to do dependency injection in laravel controllers?
explain how to add a middleware in route group?
What is a pull() ?
Which types of relationships are available in laravel eloquent?
How to send mail using queue in laravel 5?
What is the use of object relational mapping?
What is name route in laravel?
What is Basic Response in Laravel ?