windows查看tomcat动态日志 tomcatwindows
程序员文章站
2022-07-13 14:18:25
...
有时候,我们需要在window下动态地观察tomcat的日志
-----------------------------------------------------------
@echo off
tail -f E:\xxtworkspace6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs\localhost_access_log.2018-06-20.txt
-----------------------------------------------------------
分隔线内的内容,保存成.bat文件,然后双击打开,即可以实现tail -f xxx.log文件
-----------------------------------------------------------
@echo off
tail -f E:\xxtworkspace6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs\localhost_access_log.2018-06-20.txt
-----------------------------------------------------------
分隔线内的内容,保存成.bat文件,然后双击打开,即可以实现tail -f xxx.log文件
上一篇: Tomcat访问日志详细配(转)
下一篇: 如何把tomcat添加到启动服务里