tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Gupta" <amit.gu...@computerware.co.in>
Subject RE: I need to configure logs on my virtual hosting
Date Fri, 31 Dec 2004 04:15:19 GMT
Bob,

Log files are not being created. I am specifying directory="logs\" in <logger> in context.xml.
Does it matter?


Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-----Original Message-----
From: Roberto Rios [mailto:roberto.rios@innovaction.com.br] 
Sent: Thursday, December 30, 2004 5:51 PM
To: 'Goel, Manish Kumar'; 'Tomcat Users List'
Subject: RES: I need to configure logs on my virtual hosting

Hi,

Can you provide more details? Are you getting errors or the log files
aren't being created?

I always used logger inside my contexts and I never had problem.

I never used TC5.0.19. I did an upgrade from TC4.1.30 to 5.0.28 and
everything works well.

Bob

-----Mensagem original-----
De: Goel, Manish Kumar [mailto:ManishKumarG@in.nds.com] 
Enviada em: quinta-feira, 30 de dezembro de 2004 08:39
Para: Tomcat Users List; roberto.rios@innovaction.com.br
Assunto: RE: I need to configure logs on my virtual hosting

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

Manish


-----Original Message-----
From: Roberto Rios [mailto:roberto.rios@innovaction.com.br]
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:amit.gupta@computerware.co.in] 
Enviada em: quinta-feira, 30 de dezembro de 2004 02:33
Para: Tomcat Users List; roberto.rios@innovaction.com.br
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:roberto.rios@innovaction.com.br] 
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:amit.gupta@computerware.co.in] 
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


************************************************************************
***********
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
postmaster@in.nds.com and destroy the original message.
************************************************************************
**************


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message