Z
Z
zencd2016-12-30 17:47:27
phpstorm
zencd, 2016-12-30 17:47:27

How to redirect log output to PhpStorm console?

There is a project on Laravel 5.3, when the application or unit test is running, the application log is successfully written to `storage/logs`.
But there is one problem: I do not see that an error or warning has appeared in the log.
At the same time, there is the PhpStorm console, which automatically opens when the test/application starts, but is almost empty.
Tell me how to duplicate the log messages in the PhpStorm console? Or how is it customary to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Wolf, 2016-12-30
@Wolfnsex

So offhand (the first thing that came to my mind), run in the storm console:
* this is under niks, under windows - look for an analogue of the tail program from Linux.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question