Hi,
 can any body help me this same thing not working on tomcat 5.0.19 version.

Manish


-----Original Message-----
From: Roberto Rios [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 30, 2004 4:03 PM
To: 'Amit Gupta'; 'Tomcat Users List'
Subject: RES: I need to configure logs on my virtual hosting


Hi,

Yes, you can.

Take a look at the admin context provided with tomcat (as an example):

<Context path="/admin" docBase="${catalina.home}/server/webapps/admin"
        debug="0" privileged="true">

  <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_admin_log." suffix=".txt"
          timestamp="true"/>

</Context>

Bob

-----Mensagem original-----
De: Amit Gupta [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 30 de dezembro de 2004 02:33
Para: Tomcat Users List; [EMAIL PROTECTED]
Assunto: RE: I need to configure logs on my virtual hosting

Hi Bob,

I am using tomcat 5.0. I found that logger is used below tomcat 5.5.0.
Can I use logger in context.xml in mywebapp/META-INF/context.xml?


Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn

-----Original Message-----
From: Roberto Rios [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 8:30 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: I need to configure logs on my virtual hosting

Hi,

Which tomcat version?

For tomcat 4.X put a LOGGER component inside the context and specify the
directory that you want. Take a look at
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html)

This procedure works with TC 5.0.X, but it's deprecated.

For TC 5.5, look at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html.

Bob
-----Mensagem original-----
De: Amit Gupta [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 28 de dezembro de 2004 04:27
Para: Tomcat Users List
Assunto: I need to configure logs on my virtual hosting

Hi,



I need to configure logs on my virtual hosting. How can I do it? Till
now logs are created at global logs directory to which I don't have
access. I need logs in my webapps directory.





---------------------------------------------------------------------
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]


***********************************************************************************
Information contained in this email message is intended only for use of the
individual or entity named above. If the reader of this message is not the
intended recipient, or the employee or agent responsible to deliver it to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify the
[EMAIL PROTECTED] and destroy the original message.
**************************************************************************************

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

Reply via email to