-----BEGIN PGP SIGNED MESSAGE-----
Hi Andrea!
> If a servlet generates an exception, where does the output go?
> Is it possible to see it?
It goes into the logfile defined in the property file. An excerpt of my
property file:
# Enable/disable Apache JServ logging, used for debugging and development.
# WARNING: logging is a very expensive operation in terms of performance.
You
# should reduced the generated log to a minumum or even disable it if fast
# execution is an issue. Note that if all log channels (see below) are
# enabled, the log may become really big since each servlet request may
# generate many Kb of log. Some log channels are mainly for debugging
# purposes and should be disabled in a production environment.
# Syntax: log=[true,false] (boolean)
# Default: true
log=true
# Set the name of the log file. To avoid possible confusion about
# the location of this file, an absolute pathname is recommended.
# Syntax: log.file=[log path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
log.file=/path/file.log
Cheers,
Patrick
- ---
Citrin, Feisthammel und Partner, Phone: +41 1 994 4038
Winterthurerstr. 43, CH-8610 Uster, Switzerland Fax: +41 1 994 4036
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQESAwUBNyctN5VgYabdk0E5AQEW7AfjBxuTA4TepLvtbZRW6qgCKNJp8/+Yi6Xq
BRyk2lZAVAr6Gw1mw9kQ7kyV7pz8VXBmjGtC32KYDePYHc2rTDFMUxrSIRXEfE2L
f/XmWFyr8TBbJSmOeb8zDR9U8EHFv2ggtsds+8zA2lSxHFI4lqpOpTSIbvqAnad1
2o1k6d+CRhb5RHA0TX9BfThl/AiHDn0RMxS+HEW+UPIbcLjCR2x5BII8PbUnvbAy
meqmIX/P/8ziEgxhMXu2NoFQwVfiQYhWWSVwgKNzL+zvz9r5JRYkJ32kCaUy/bXr
GmtwGWfzdfEcJV7KJ0ID0QgAnpKv7Qgx2juvqWmb+yt0wpC4Hw==
=ZSxM
-----END PGP SIGNATURE-----
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]