Re: ServletContext.log Where?!

2003-11-05 Thread Christopher Schultz
Hatem,
 AbouHassan wrote:
I'm trying to log messages in the ServletContext.log, but after I ran
the application did not find where the log is?  [snip]
> its not in the catalina.out nor the
localhost_myapp_log.xxx.txt!!!
You should have a  entry in your server.xml file for the context 
in question. This will specify the log file. Generally, that file 
appears in $TOMCAT_HOME/logs/[logname].

If you are running from a shared install of Tomcat, then you'll find 
those logs at $CATALINA_HOME/logs

-chris

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


ServletContext.log Where?!

2003-11-05 Thread Hatem AbouHassan
Hi,
I'm trying to log messages in the ServletContext.log, but after I ran the application 
did not find where the log is?
The documentation asks me to consult the Application Server Documentation!! but I 
couldn't find it anywhere?
Can someone kindly hint me out on where is the log?

thanks.
Notes: its not in the catalina.out nor the localhost_myapp_log.xxx.txt!!!


RE: ServletContext.log() - where does it go?

2001-07-27 Thread Vladimir Grishchenko

change verbosity level/path in server.xml?

--V.

-Original Message-
From: chris brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 3:15 AM
To: tomcat-user
Subject: ServletContext.log() - where does it go?


I've tried some simple logging using the following code in some servlets
running under Tomcat 3.2.3.

getServletContext().log("some message");

Normally, I would have expected this to appear in the "servlet.log" file,
but this file remains empty.  It's created correctly by Tomcat whenever
Tomcat starts, but seems empty.

Any ideas as to what I should do to make the messages appear?

Thanks,
Chris


***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original
message.
***



ServletContext.log() - where does it go?

2001-07-27 Thread chris brown

I've tried some simple logging using the following code in some servlets
running under Tomcat 3.2.3.

getServletContext().log("some message");

Normally, I would have expected this to appear in the "servlet.log" file,
but this file remains empty.  It's created correctly by Tomcat whenever
Tomcat starts, but seems empty.

Any ideas as to what I should do to make the messages appear?

Thanks,
Chris