Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 65114 invoked from network); 15 Nov 2004 20:30:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Nov 2004 20:30:53 -0000 Received: (qmail 4129 invoked by uid 500); 15 Nov 2004 20:30:35 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 4104 invoked by uid 500); 15 Nov 2004 20:30:35 -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 4091 invoked by uid 99); 15 Nov 2004 20:30:35 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [66.46.24.147] (HELO shareowner.com) (66.46.24.147) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 12:30:35 -0800 Received: from exchange.int.shareowner.com (gw.shareowner.com [66.46.24.163]) by shareowner.com (Postfix) with ESMTP id 7510023618 for ; Mon, 15 Nov 2004 15:30:36 -0500 (EST) Received: by exchange.int.shareowner.com with Internet Mail Service (5.5.2656.59) id ; Mon, 15 Nov 2004 15:30:33 -0500 Message-ID: From: Phillip Qin To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin Date: Mon, 15 Nov 2004 15:30:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4CB51.F4176560" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4CB51.F4176560 Content-Type: text/plain I found that logrotate is the easiest. -----Original Message----- From: Carlos Oliva [mailto:carlos@pbsinet.com] Sent: November 15, 2004 3:28 PM To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin Hi Filip, I set-up the Webmin Log Rotation entry to the following: 1) Re-create log file after rotation? Yes, with mode and owned by user and group 2) Store old rotated logs in Directory Same directory as log file Default (Same directory as log file) 3) Extension for rotated filenames Default Should not this maintain the file handle? -----Original Message----- From: Filip Hanik - Dev [mailto:devlists@hanik.com] Sent: Monday, November 15, 2004 3:19 PM To: Tomcat Users List Subject: Re: Rotating catalina.out with Webmin if you dont get webmin fixed, I recommend cronolog instead. You cant just rotate it, cause then tomcat loses the file handle, and you will lose all further output. with cronolog you simply pipe it through cronolog like this | /usr/local/sbin/cronolog "$CATALINA_BASE$"/logs/%Y-%m-%d.catalina.out >> /dev/null 2>&1 this will rotate the logs daily Filip ----- Original Message ----- From: "Carlos" To: Sent: Monday, November 15, 2004 2:05 PM Subject: Rotating catalina.out with Webmin Hi Forum, Could someone recommend settings for using the log rotation of Webmin in order to rotate catalina.out (any cautionary measures)? I just created an entry in Webmin to rotate the catalina.out file weekly with all the default settings (keeping the last four copies). Are there any scripts I should run before or after the rotation is carried out? --------------------------------------------------------------------- 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 !DSPAM:4199117c52001195320907! ------_=_NextPart_001_01C4CB51.F4176560--