A
A
AlexTest2013-02-17 19:56:50
PHP
AlexTest, 2013-02-17 19:56:50

JS viewing PHP logs in an adjacent browser window

I would like to view the output of the PHP logger in the next browser window.
The scenario can be as follows:
In the address bar of the browser, the address of a PHP script is entered that allows the output of the logger for this session and gives a page with a javascript that periodically updates it with a reasonable frequency - the output of the logger is visible on this page.
Those. I'm in the next browser window, for example, on the first monitor I go around the site, send forms, Ajax requests, and in the second window on the other monitor I immediately see the latest logs.
Of course, it is desirable to see some beautiful formatting of the log in this window, and to be able to scroll to the previous / next. log page.
I understand that you can do everything yourself, but maybe someone can suggest a ready-made solution / I for such a task.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
Vyacheslav Plisko, 2013-02-17
@AmdY

tail -f

S
Sergey Beresnev, 2013-02-18
@sectus

You can try to connect firephp and watch the errors in the adjacent firebug window.

V
Vyacheslav Slinko, 2013-02-17
@KeepYourMind

logio.org

A
Alexander Makarov, 2013-02-17
@SamDark

getsentry.com/

K
Kirill Dlussky, 2013-02-18
@Dlussky

github.com/bobrik/pupergrep
You can watch any logs in real time with different filters, but this is a separate application on the node.

M
mr_MAIL, 2013-04-22
@mr_MAIL

> which periodically updates it at a reasonable frequency
Forget it.
Here's the formula:
server sent events + redis pub/sub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question