You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Philippe Couas <pc...@infodev.fr> on 2008/10/20 16:55:46 UTC

Change logs directory on Tomcat 5.5.26

Hi,
 
I want change logs directory on Tomcat 5.5.26 ?
I have tried without succes following command ?
Where is my mistake
Regards
Philippe
 
<Context path="/test" docBase="test" debug="0" reloadable="true" crossCont
ext="true" allowLinking="true" caseSensitive="false">

<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_info
dev_log." suffix=".txt" timestamp="true" directory="/var/tomcat/logs"/>

</Context>


Re: Change logs directory on Tomcat 5.5.26

Posted by André Warnier <aw...@ice-sa.com>.
Philippe Couas wrote:
> Hi,
>  
> I want change logs directory on Tomcat 5.5.26 ?
> I have tried without succes following command ?
> Where is my mistake
> Regards
> Philippe
>  
> <Context path="/test" docBase="test" debug="0" reloadable="true" crossCont
> ext="true" allowLinking="true" caseSensitive="false">
> 
> <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="localhost_info
> dev_log." suffix=".txt" timestamp="true" directory="/var/tomcat/logs"/>
> 
> </Context>
> 
> 
Hi Philippe.
I am sorry to say, the <Logger> element does not exist anymore in Tomcat 
5.5.x or later.
Tomcat now uses "Common logging".
And you are probably in for a bit of fun..

First of all, I think you should let the list know on which system you 
are running Tomcat, and where you got the Tomcat you are running.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org