问题
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.
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!
回答1:
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!
来源:https://stackoverflow.com/questions/30321578/intellij-read-remote-server-log-file