Where are the results of a System.out.println command ?

2005-05-30 Thread Jean-Luc Douville
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 i can't find any log ...
I send the requests to the servlet with a browser, the parameters are 
in the URL (GET method).


Thanks.
--

Jean-Luc Douville
GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex
Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where are the results of a System.out.println command ?

2005-05-30 Thread delbd
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 :
 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 i can't find any log ...
 I send the requests to the servlet with a browser, the parameters are
 in the URL (GET method).

 Thanks.
 --

 Jean-Luc Douville
 GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex
 Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

 -


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where are the results of a System.out.println command ?

2005-05-30 Thread Jean-Luc Douville


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 ... i didn't search correctly.
Thank you !




Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit :

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 i can't find any log ...
I send the requests to the servlet with a browser, the parameters are
in the URL (GET method).

Thanks.
--

Jean-Luc Douville
GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier 
Cedex

Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

Jean-Luc Douville
GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex
Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where are the results of a System.out.println command ?

2005-05-30 Thread Torsten Römer
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
 same servlet).

 On the Mac i can't find any log ...

Doesn't System.out usually go to catalina.out in Tomcat's logs directory?

 I send the requests to the servlet with a browser, the parameters are
 in the URL (GET method).

 Thanks.
 --

 Jean-Luc Douville
 GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier
 Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

 -


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED] For
 additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where are the results of a System.out.println command ?

2005-05-30 Thread Rhino
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 are the results of a System.out.println command ?


 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 i can't find any log ...
 I send the requests to the servlet with a browser, the parameters are
 in the URL (GET method).

 Thanks.
 --

 Jean-Luc Douville
 GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex
 Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40

 -


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -- 
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.3.0 - Release Date: 30/05/2005


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]