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]

Reply via email to