posted 12 years ago
Hmmm. I know that in some cases, the Windows spin of Tomcat can produce a catalina.out, but you're right. It isn't handled in the stock catalina.bat. I don't usually run Tomcat under Windows, so I'm not always up on the finer points.
There are probably 2 reasons why catalina.bat doesn't route the logs. First, because typically, Tomcat is run as a Windows Service. Secondly, because Windows can do odd things when you invoke a command line app. For example, when you run the Tomcat startup.bat by double-clicking on it.
You can always route the console output for Tomcat yourself, however:
Or:
Often the most important part of the news is what they didn't tell.