rap2hpoutre / laravel-log-viewer

:dromedary_camel: Laravel log viewer
MIT License
3.14k stars 375 forks source link

Wrong logs path #272

Open WillyReyno opened 2 years ago

WillyReyno commented 2 years ago

Hello,

I wanted to try your package but all the logs paths seems to be wrong, for example when I click on the link for today's logs:

No such log file: /var/www/html/storage/logs//var/www/html/storage/logs\laravel-2022-04-16.log

Do you know if this is something that can come from my configuration?

Thanks for your help!

damianf161 commented 2 years ago

The same problem after switch from php 7.4 to 8.1

adeiming commented 2 years ago

same here, with laravel 9

l-vanbommel commented 1 year ago

Issue still seems to exist. Can it be merged into main branch?

FireOpsPhil commented 5 months ago

I am having the same issue. Was this ever addressed?

FireOpsPhil commented 5 months ago

For me, I found the issue. I had some secondary log files being stored in a subdirectory of logs. Once I removed them from the directory and the log config file, all was well.