Batch file 在ApacheTomcat日志中获取catalina.out

Batch file 在ApacheTomcat日志中获取catalina.out,batch-file,logging,cmd,tail,Batch File,Logging,Cmd,Tail,当前尝试打开文件时出现以下错误: C:\Users\....\....\apache-tomcat-8.0.45\logs>catalina.out The process cannot access the file because it is being used by another process. 我所做的是让应用程序在webapps中运行,并使用以下命令启动tomcat: catalina.bat jpda start 现在我想在windows中查看日志。在Ubuntu中,

当前尝试打开文件时出现以下错误:

C:\Users\....\....\apache-tomcat-8.0.45\logs>catalina.out
The process cannot access the file because it is being used by another process.
我所做的是让应用程序在webapps中运行,并使用以下命令启动
tomcat

catalina.bat jpda start

现在我想在windows中查看日志。在Ubuntu中,可以使用
tail-f catalina.out
。但是如何在windows中强制查看tomcat日志呢?

如回答中所述,您可以尝试
更多的catalina.out
键入catalina.out

您使用什么应用程序打开日志文件?使用一个只打开文件的应用程序。Im使用cmd。。。像这样的应用程序?而不是
tail-f catalina.out
尝试
键入catalina.out
我刚才给出了一个使用windows的im示例显然
cmd
不是读取文件的应用程序。