I'm working on a Vista workstation purely out of stubbornness. Not that I like it, but it's what IT put on the machine when I arrived, and I'm determined to make it work somehow.
I build a webapp and deploy it under Tomcat 5.5, starting it from the command line, not as a service.
The problem is that the log files written by Tomcat and log4j remain zero length while Tomcat is running. If I need to visit my log files to inspect an exception, I have to stop Tomcat. At that time the log files are visible on disk and available for viewing.
I've been assuming that I'm battling Vista in this instance, that its disk I/O is caching the file writes. I've found no options or configuration that would disable the write buffering.
Any suggestions?