What is meant by Error Log ?



What is meant by Error Log ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is meant by Laravel - Validation ?

1 Answers  


What is api php in laravel?

0 Answers  


In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?

0 Answers  


Explain to listeners.

0 Answers  


How can someone change the default database type in laravel?

0 Answers  






How would you add a 3rd party package like sentry?

0 Answers  


What is the difference between facades vs helper functions?

0 Answers  


How to serve sites with tls on valet?

0 Answers  


What are controllers in laravel?

0 Answers  


How to Accessing Session Data in Laravel ?

1 Answers  


What is map function in laravel?

0 Answers  


What is dd() function in laravel?

0 Answers  


Categories