andersao / laravel-request-logger

HTTP request logger middleware for Laravel
http://andersao.github.io/laravel-request-logger
242 stars 57 forks source link

Log file not created. #28

Open iSWORD opened 6 years ago

iSWORD commented 6 years ago

Hello & thanks for making this package.

Unfortunately I cannot get it to work. The log file doesn't get created - I checked the permissions. I also tried to create the file manually and make sure it has write permissions (I even chmod'd it 777, but that didn't help).

I also tried to create a clean Laravel installation, but that didn't help either.

Laravel Version 5.5.34 OS GNU/Linux 4.4.0-21-generic

Do I need to configure a queue for this package to work? If yes, could you please add the instructions to README.md?

thril commented 6 years ago

I too am getting the same thing on the same version of Laravel. I've followed the instructions - created the config file and added the service as a provider in config/app.php. I even changed the file to the existing laravel.log file which my other messages log to.

I thought it may have been queue related, so I turned on my redis queue worker (php artisan queue:work) but nothing is processed.

Is there any other code that needs to be manually added - perhaps a reference to some middleware?