I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command (and other) in the DOS window that logs the tomcat's
processes (serving the
same servlet).
On the Mac
In general prefer the use of a logging system in your code (commons-logging or
log4j for example).
Concerning System.out, i guess for linux it's the same as for Mac, the
System.out is redirected to the log file (logs/catalina.out by default)
Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit
On May 30, 2005, at 10:53 AM, delbd wrote:
In general prefer the use of a logging system in your code
(commons-logging or
log4j for example).
Concerning System.out, i guess for linux it's the same as for Mac, the
System.out is redirected to the log file (logs/catalina.out by default)
Yes
Jean-Luc Douville said:
I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command (and other) in the DOS window that logs the tomcat's
processes (serving the
The results of System.out.println() are written to a file called
catalina.out which you should find in your tomcat/logs directory.
Rhino
- Original Message -
From: Jean-Luc Douville [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, May 30, 2005 4:39 AM
Subject: Where