Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 64331 invoked from network); 13 Sep 2010 12:33:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 12:33:50 -0000 Received: (qmail 62122 invoked by uid 500); 13 Sep 2010 12:33:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 62007 invoked by uid 500); 13 Sep 2010 12:33:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61999 invoked by uid 99); 13 Sep 2010 12:33:43 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 12:33:43 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 12:33:21 +0000 Received: by yxs7 with SMTP id 7so2745900yxs.18 for ; Mon, 13 Sep 2010 05:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=9MJkLxQXxmkii+Ym98FBdWuiJVxuTvLO8li0U9ANfX0=; b=Ohg1oT5DPxoIGuOBbC+OsEHdcbCAPMEzM2RviRZEcrAajYhNXDeH+xpg2i/Jxlz8uK hIJS5hWpNwe/sSgdeA+Q3rN+w0t8xdxE45T2tavGvcgggATRjepwmzgpB4zCwHXusJpY WMiN0xLUhMYfCIx1weGwabcpEUFe+nnNwyb5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vMCjC54MWtPUdLPTwIdd+NbZcrVBFt0iolzug5gR6/tjBJL2NZae7qxus3/ITlldAg 2iT+UNuBRyLlK6bQYaMtLuan1gqttXgsMPZ+4C0lQl4bZgXoDv85CNZqqanroJeEFozT 4xOkKUyLU43m2ndXQ+nj9+2sl1KKch0VnfMDA= MIME-Version: 1.0 Received: by 10.101.164.16 with SMTP id r16mr4181996ano.199.1284381180680; Mon, 13 Sep 2010 05:33:00 -0700 (PDT) Received: by 10.231.15.141 with HTTP; Mon, 13 Sep 2010 05:33:00 -0700 (PDT) In-Reply-To: <1B75B268E6295D4586C218DF3C3847AC47C100@banex02.corp.intuit.net> References: <1B75B268E6295D4586C218DF3C3847AC47C100@banex02.corp.intuit.net> Date: Mon, 13 Sep 2010 08:33:00 -0400 Message-ID: From: Jeff Trawick To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016e68cbdc807db890490234c55 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache mod-jk log rotate issue --0016e68cbdc807db890490234c55 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 13, 2010 at 8:28 AM, Garg, Saman wrote: > Thanks Jeff for your reply. > Is apache expected to not create new mod-jk log right on restart? Shouldn't > it create file with 0 bytes on restart even if there is nothing to write at > restart? > that's not how rotatelogs works e.g., if your internal school server was unused over a long holiday period, you wouldn't find a bunch of 0-byte log files when you returned --0016e68cbdc807db890490234c55 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Sep 13, 2010 at 8:28 AM, Garg, Saman <Saman_Garg@intu= it.com> wrote:
Thanks Jeff for your reply.
Is apache expected to not create new mod-jk= log right on restart? Shouldn't it create file with 0 bytes on restart= even if there is nothing to write at restart?

that's not how rotatelogs works

e.g., if your internal school server was unused over a long holiday p= eriod, you wouldn't find a bunch of 0-byte log files when you returned<= /div>

--0016e68cbdc807db890490234c55--