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?
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.
I had the same problem. The composer update command in the terminal automatically built all missing files and in particular var/log/dev.log.
This might happen when you've altered the default log file path. In my case, I use rotating_file to make sure dev.log doesn't grow too large. rotating_file writes to dev-yyyy-mm-dd.log instead of dev.log. Creating an empty dev.log removes the message.