Answer the question
In order to leave comments, you need to log in
How to view PHP logs in real time via Windows console [URGENT]?
Good day.
There is a script that, using the new StreamHandler('php://output',Logger::DEBUG) command, assigns a listener for new logs and redirects the stream to the php.exe console (Windows server).
As a server for debugging, Open Server is used. How can I watch this stream in real time through the console (and other errors and warnings, for example), that server has its own console, but I didn’t understand how to implement my plan with it.
Answer the question
In order to leave comments, you need to log in
You can use Power Shell (something like a linux terminal in windows), there is a tail command, which just allows you to read the log in real time. Documentation can be found here - https://blogs.technet.microsoft.com/rmilne/2016/06...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question