10

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!

João Santos
  • 175
  • 2
  • 10

2 Answers2

4

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!

Community
  • 1
  • 1
bogdan.rusu
  • 901
  • 4
  • 21
  • 41
0

You can track your logs directly via SSH

ssh your_server tail -f /to/your/log_file
HBSON
  • 1