What is meant by Error Log ?

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


Please Help Members By Posting Answers For Below Questions

What is faker in laravel?

441


What are laravel eloquent?

419


What is laravel model?

442


How to set cookies in laravel?

406


Differce between contracts and facades?

465






How to get requested path in laravel?

434


What do you know about laravel contracts?

426


Define laravel guard.

458


What are the advantages of queue?

424


List out some artisan commands?

406


How will you explain homestead in laravel?

419


How we can upload files in laravel? Explain

407


How to configuration laravel?

408


Which template engine is used by laravel?

421


How to install laravel?

408