M
M
Mikhail2017-07-07 10:30:04
PHP
Mikhail, 2017-07-07 10:30:04

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

1 answer(s)
V
Vladislav Ivasik, 2017-07-13
@iqw

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 question

Ask a Question

731 491 924 answers to any question