Hi,
No, the Valves are not gone, they're still around.  Their performance is
better, due to simpler runtime stacking and no more double-chaining.

As always, the advice on Valves remains "if you can do it in a portable
way, e.g. with a javax.servlet.Filter, then don't do it in a
server-specific way."

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: V. Karthik Kumar [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 01, 2004 1:00 PM
>To: Tomcat Users List
>Subject: RE: How to configure logs in Tomcat 5.5?
>
>Hi,
>
>Are the Valves gone too?
>
>On Wed, 2004-09-01 at 22:20, Shapira, Yoav wrote:
>> Hi,
>> Loggers are gone: your server.xml <Logger> element is invalid and
should
>> be removed.
>>
>> For configuring commons-logging with Tomcat, see
>> http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.
If
>> you're unfamiliar with commons-logging or want to learn more about
it,
>> check out the user guide at
>> http://jakarta.apache.org/commons/logging/guide.html.
>>
>> Note that for people who don't care much about logging,
>> System.out/System.err still behave as before, and the
ServletContext#log
>> method works without any special configuration.
>>
>> Yoav Shapira
>> Millennium Research Informatics
>>
>>
>> >-----Original Message-----
>> >From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
>> >Sent: Wednesday, September 01, 2004 12:46 PM
>> >To: Tomcat User List
>> >Subject: How to configure logs in Tomcat 5.5?
>> >
>> >I noticed in the change log that some changes have been made to the
way
>> >things are logged in Tomcat 5.5. I was using something like the
>> following
>> >in
>> >my server.xml previously. However, this no longer works.
>> >
>> ><Logger className="org.apache.catalina.logger.FileLogger"
>> >directory="logs"
>> >prefix="localhost_log."
>> >suffix=".txt"
>> >timestamp="true"/>
>> >
>> >I'm wondering how to configure the new "commons-logging?" The
default
>> >server.xml doesn't seem to have anything in it for this. Is
configuring
>> >this
>> >no longer neccessary? Does it just log to catalina.out now or
>> something?
>> >
>> >Jon
>> >
>> >
>>
>---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>>
>>
>> ---------------------------------------------------------------------
>> 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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to