Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 64783 invoked from network); 27 Feb 2004 02:06:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 02:06:42 -0000 Received: (qmail 87014 invoked by uid 500); 27 Feb 2004 02:06:04 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 87002 invoked by uid 500); 27 Feb 2004 02:06:04 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 86989 invoked from network); 27 Feb 2004 02:06:04 -0000 Received: from unknown (HELO hotmail.com) (64.4.9.60) by daedalus.apache.org with SMTP; 27 Feb 2004 02:06:04 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 26 Feb 2004 18:06:13 -0800 Received: from 65.94.252.96 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 27 Feb 2004 02:06:12 GMT X-Originating-IP: [65.94.252.96] X-Originating-Email: [francoisdufour@hotmail.com] X-Sender: francoisdufour@hotmail.com From: "FRANCOIS Dufour" To: tomcat-user@jakarta.apache.org Bcc: Subject: Re: log comming big after.... Date: Fri, 27 Feb 2004 02:06:12 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 27 Feb 2004 02:06:13.0053 (UTC) FILETIME=[4661EED0:01C3FCD6] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N sorry for my newbiness again but iam on windows and awser that i see on google are for linux:S francoisdufour@hotmail.com administrateur http://entre-nous.qc.tc >From: Nicholas Bernstein >Reply-To: "Tomcat Users List" >To: "Tomcat Users List" >Subject: Re: log comming big after.... >Date: Thu, 26 Feb 2004 18:02:22 -0800 > >On Thursday 26 February 2004 6:00 pm, FRANCOIS Dufour wrote: > > sorry for my newbiness but "cron:" > > ^ > > how to do it > > > >put *some* effort into it, go hit up google and search for "cron howto" > > > > > francoisdufour@hotmail.com > > administrateur http://entre-nous.qc.tc > > > > > > > > > > > > From: Nicholas Bernstein > > > > >Reply-To: "Tomcat Users List" > > >To: "Tomcat Users List" > > >Subject: Re: log comming big after.... > > >Date: Thu, 26 Feb 2004 17:55:28 -0800 > > > > > >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 > > > > _________________________________________________________________ > > MSN Messenger : discutez en direct avec vos amis ! > > http://messenger.fr.msn.ca/ > > > > > > --------------------------------------------------------------------- > > 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 > _________________________________________________________________ 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