Hi Pranav,

I haven't seen anything in the API to programmatically set the servlet log
file. Nor is there anything in the web.xml. The file used and its location
will be container specific. 

I highly recommend the use of log4j
(http://jakarta.apache.org/log4j/docs/index.html) for logging (even with the
imminent inclusion of a logging API in the core of JDK/JRE 1.4). If you use
this API you have extensive control over where logging is sent and when.

Jon.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 22 June 2001 14:58
To: [EMAIL PROTECTED]
Subject: set Servlet.log file

Is there any way to specify the servlet.log file without having to access
the 
servlet container's configuration files? One might need this because if one 
hosts ones site on a commercial server, one does not usually have access to
log 
files or configuration files.

Pranav

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

Reply via email to