IntelliJ读取远程服务器日志文件 [英] 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.
我不介意是否必须为其安装任何插件,但是直到现在我都找不到能满足我要求的插件.
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.
谢谢!
推荐答案
请参见此 JetBrains插件.我自己安装了它.您可以使用服务器从Intellij创建远程调试会话,然后使用Log4JPlugin指向日志.
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
希望有帮助!
这篇关于IntelliJ读取远程服务器日志文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!