Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ read remote server log file

Do you have any idea how can I setup my Remote configuration to display a log file on the server instead of on my local machine?

On the edit configuration screen (Logs tab) I have the option to show a log file, but only logs from my machine, not from the remote server.

enter image description here

I don't mind if I have to install any plugin for it, but until now I couldn't find any that did what I want.

Thanks!

like image 853
João Santos Avatar asked May 19 '15 09:05

João Santos


People also ask

How do I check server Logs in IntelliJ?

In the run/debug configuration that will be used for launching the app, click the Logs tab. The Edit Log Files Aliases table displays the list of log files. Specify the log Alias (the name that will be displayed in the tool window tabs) and the path to the log file. You can also specify an Ant pattern for the log path.

Can IntelliJ open remote project?

Since working remotely became a necessity, IntelliJ IDEA offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.


1 Answers

See this JetBrains plugin. I've just installed it myself. You can create a remote debug session from Intellij with your server and than point the logs with Log4JPlugin.

For remote debug connections check this

Hope it helps!

like image 74
bogdan.rusu Avatar answered Sep 23 '22 00:09

bogdan.rusu