John

have you had a chance to look at
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
you can specify using either Log4J Logger or the Juli logger

Log4j specifies the Log File to append to as
log4j.appender.R.File=${catalina.home}/logs/tomcat.log 

the juli log folder is specified by
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

HTH
Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de 
déni et de confidentialité
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Sat, 9 May 2009 22:02:35 -0700
> From: johnpi...@yahoo.com
> To: users@tomcat.apache.org
> Subject: Is it possible to move Tomcat logfiles?
> 
> 
> I am setting up a CentOS 5 server running tomcat and wanted to know whether
> the best practice is to leave the Tomcat logfiles in their default location:
> 
> /usr/share/apache-tomcat-6.0.18/logs
> 
> or whether I should place them in another directory like /var/log/tomcat.
> 
> Is this possible, and/or preferred? 
> 
> I am new to Linux, but my understanding so far was that changing data like
> logfiles should not be under /usr/ but instead under /var/.  Is that a
> correct interpretation in this case?
> 
> Thanks
> -- 
> View this message in context: 
> http://www.nabble.com/Is-it-possible-to-move-Tomcat-logfiles--tp23467178p23467178.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

Reply via email to