简体   繁体   English

从Tomcat获取日志

[英]Getting logs from Tomcat

I work with Gradle project (IntelliJ, Gradle, Tomcat, Spring). 我使用Gradle项目(IntelliJ,Gradle,Tomcat,Spring)。 I established a remote Tomcat Server - I managed how to deploy, debug and so on, but I can't connect from any tool to "listen" on changes in catalina.out file on Tomcat Server. 我建立了一个远程Tomcat服务器 - 我管理了如何部署,调试等等,但我无法从任何工具连接到“监听”Tomcat服务器上catalina.out文件的更改。

I would like to see logs in any window in any of programs on developer computer - is it possible to remotely observe changes on this file using different program than PuTTY and SSH connection? 我想在开发人员计算机上的任何程序中的任何窗口中查看日志 - 是否可以使用与PuTTY和SSH连接不同的程序远程观察此文件的更改?

I've seen tools like "otroslogviewer" but I didn't find any option to establish connection. 我见过像“otroslogviewer”这样的工具,但我没有找到任何建立连接的选项。

OtrosLogViewer support virtual file systems. OtrosLogViewer支持虚拟文件系统。 When you are opening file in path just type "sftp://host/" or "smb://host/share/ 当您在路径中打开文件时,只需键入“sftp:// host /”或“smb:// host / share /”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM