You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Benoit - Althosting.fr" <be...@althosting.fr> on 2005/01/06 12:21:12 UTC

catalina log - redirect

Hi,

I'm trying to redirect catalina logs to another file
(montest_access_log.txt) but catalina out is not redirect in my file (steal
in catalina.out)

That's my configuration in server.xml for the host :

<Host name="mywebsite.com" debug="0"
appBase="/usr/local/jakarta-tomcat4.1/webapps/montest" unpackWARs="true"
autoDeploy="true">
   <Context path="" docBase="" debug="1" reloadable="true"
swallowOutput="true" />
   <Logger className="org.apache.catalina.logger.SystemOutLogger"
directory="/usr/local/jakarta-tomcat4.1/webapps/montest/logs"
prefix="montest" suffix=".txt"  timestamp="true" verbosity="4" />
   <Logger className="org.apache.catalina.logger.SystemErrLogger"
directory="logs" prefix="montest_systerr" suffix=".txt"  timestamp="true"
verbosity="4" />
   <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="webapps/montest/logs"  prefix="montest_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
</Host>

Does anybody know anything about this ?
I tried to make the change but unfortynately it does not work.

Thanks


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