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/07 00:54:45 UTC

catalina.out export to another file

Hi,

Sorry, I post this message again, I have no answer and I really need help :(

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


Re: catalina.out export to another file

Posted by Mark Thomas <ma...@apache.org>.
Please:

- Don't post messages multiple times. It is more likely to decrease 
rather than increase your chances of receiving an answer to your question.

- Don't hi-jack another thread. Clicking reply and changing the subject 
line is NOT the right way to post a message on a new topic as it 
confuses thread aware mail clients.

Regards,

Mark

Benoit - Althosting.fr wrote:
> Hi,
> 
> Sorry, I post this message again, I have no answer and I really need 
> help :(
> 
> 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
> 
> 
> 


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