没有catalina.out [英] There is no catalina.out
问题描述
我不知道,如何以及如何设置,在我的计算机上的Tomcat上安装catalina.out。
I have no idea, how and what to set up, to have catalina.out on the Tomcat on my computer.
我使用Tomcat 6.0.28,压缩-version在Windows XP上。要启动服务器,我只需运行startup.bat-file。
I use Tomcat 6.0.28, zipped-version on Windows XP. To start server I just run startup.bat-file.
我做错了吗?!
谢谢提前获取任何建议。
Thanks in advance for any advices.
Mur
[已编辑]
所有记录(例外情况或制度) .out)将写在控制台窗口中。在哪里设置,它们会被写入catalina.out?
All records (Exceptions or System.out) will be written in console window. Where to set up, that they would be written to catalina.out?
正如我在其中一篇评论中所写,如果我用安装版本安装Tomcat,所有消息发生在stdout_YYYYMMDD.log中,我没有看到,在哪里更改它。
As I wrote in one of my comments, if I install Tomcat with setup-version, all messages occur in stdout_YYYYMMDD.log and I don't see, where to change this.
推荐答案
看起来Windows上的Tomcat 6没有写信给catalina.out
Looks like Tomcat 6 on Windows does not write to catalina.out
我可以看到为什么会发生这种情况,但不知道在哪里修复它。
I can see why this is happening, but not sure where to fix it.
catalina.sh有这一行将系统输出发送到catalina.out
catalina.sh has this line which sends the System outs into catalina.out
"$CATALINA_BASE"/logs/catalina.out 2>&1
catalina.bat中缺少此行,这就是为什么这不会出现在窗户。
this line is missing from catalina.bat which is why this does not appear on windows.
这篇关于没有catalina.out的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!