tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: How to capture printf() stdout to stdout_nnn.log?
Date Mon, 23 Jan 2006 09:20:11 GMT
running "startup.bat > myfile.log"   ????

Le Jeudi 19 Janvier 2006 18:25, Joe Siebenmann a écrit :
> Hi All,
> 
> My System.out.println() gets logged to Tomcat's log file fine.
> 
> I want to be able to capture the printf()s in the DLL of my
> JNI to the same, or another, log file.
> 
> If I start Tomcat from the command line using 'startup.bat'
> the printf()s show-up on the console output.  My question is
> how can I get this to get logged to a log file when I run
> Tomcat normally?  I start the "Apache Tomcat" Service.
> 
> I'd rather not have to go through all that using log4j stuff
> unless it's really needed.  Can't it be done with the normal
> Commons Logging, or what's built-into Tomcat?
> 
> I've found "bits and pieces" on how to do this, but nothing
> that's clear.
> 
> I'm using Tomcat-5.5.9 with Java 1.5, on Windows XP.
> 
> 
> Thanks,
> 
> Joe Siebenmann
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Pingouins dans les champs, hiver méchant

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message