With Symfony 4.3 and Symfony CLI v4.7.1, when I run:
symfony serve
I see the following warning in the output:
WARNING unable to find the application log
How do I solve the issue that raises this warning? Do I have to install the logger bundle?
I have bumped into the same issue today. For some reason, I had to create an empty log file (dev.log
) inside the var/log
directory. After that, the warning disappeared and the log messages appeared in the file.
You have to install the "logger" package:
composer require logger
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With