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 is faker in laravel?
What are laravel eloquent?
What is laravel model?
How to set cookies in laravel?
Differce between contracts and facades?
How to get requested path in laravel?
What do you know about laravel contracts?
Define laravel guard.
What are the advantages of queue?
List out some artisan commands?
How will you explain homestead in laravel?
How we can upload files in laravel? Explain
How to configuration laravel?
Which template engine is used by laravel?
How to install laravel?