You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by FRANCOIS Dufour <fr...@hotmail.com> on 2004/02/27 02:43:24 UTC
log comming big after....
hi to all
my video chatt aplication have to serve image from user end to other user
end the log file is simply growing every second is there a way to keep only
like the 20 last request in log?
thank in advance
francoisdufour@hotmail.com
administrateur http://entre-nous.qc.tc
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Web site error.
Posted by Parsons Technical Services <pa...@earthlink.net>.
When I went to look for a link on documentation I ran into this:
TC Main page
http://jakarta.apache.org/tomcat/
Documentation for TC4 goes to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
JK Documentation goes to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
Good
TC Main page
http://jakarta.apache.org/tomcat/
Documentation for TC5 goes to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
JK Documentation goes to
http://jakarta.apache.org/site/binindex.cgi
Oops!
Which has no documentation, just the binaries.
May explain the rash of request for the TC5 iis and jk docs.
Is there a better place to report website errors?
Doug Parsons
www.parsonstechnical.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: log comming big after....
Posted by Nicholas Bernstein <ni...@docmagic.com>.
On Thursday 26 February 2004 5:43 pm, FRANCOIS Dufour wrote:
> hi to all
> my video chatt aplication have to serve image from user end to other user
> end the log file is simply growing every second is there a way to keep only
> like the 20 last request in log?
>
> thank in advance
>
>
to be run from cron:
#!/bin/bash
logfile="/var/log/somelog"
logsize=`ls -s $logfile | awk '{ print $1 }'`
date=`date -I`
if [[ ! $logsize > 200000 ]] ; then
tar czf mylog.${date}.tar.gz $logfile
rm -rf $logfile && touch $logfile
fi
>
>
> francoisdufour@hotmail.com
> administrateur http://entre-nous.qc.tc
>
> _________________________________________________________________
> MSN Search, le moteur de recherche qui pense comme vous !
> http://fr.ca.search.msn.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
+---------------------------------------------------------------+
| Nicholas Bernstein | nick@docmagic.com |
| UNIX Systems Administrator | http://www.docmagic.com |
| Document Systems Inc. | |
+---------------------------------------------------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org