Thanks Dave,

Is there any other way of doing this as in my environment, I cannot
modify those files as I do not have permission for changing them.

Thanks and Regards,
Mandar M Kelvekar


-----Original Message-----
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 5:41 PM
To: Tomcat Users List
Subject: RE: Query on changing the path for catalina.out


The location of the catalina.out log file is not controlled from
server.xml. This is other log files.

Look in catalina.sh for ">> "$CATALINA_BASE"/logs/catalina.out 2>&1 &"
and change that, to change the location of catalina.out.

Ta
Matt

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 09 March 2005 12:04
To: tomcat-user@jakarta.apache.org
Subject: Query on changing the path for catalina.out



Hi,




I need to change the default location of Catalina.out log file. So I

modified the server.xml file in the conf dir in the following way:




<!-- Global logger unless overridden at lower levels -->

            <Logger className=3D"org.apache.catalina.logger.FileLogger"

                directory=3D"/var/log/tomcat" prefix=3D"catalina_log."

suffix=3D".txt" timestamp=3D"true"/>




But inspite of doing this my catalina.out is gets logged in

CATALINA_BASE/logs/ directory. There are two scripts in tomcat/bin/

directory catalina.sh and Catalina.50.sh which are doing a=




touch "$CATALINA_BASE"/logs/catalina.out




So are my changes made in the server.xml are getting overridden by these

Scripts?




If yes, please let me know a way to handle this. Your inputs will be

extremely helpful for me.




Thanks and Regards,

Mandar M Kelvekar











Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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




Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

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

Reply via email to