From owner-freebsd-stable Fri Jan 18 6:35:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 6A61B37B419 for ; Fri, 18 Jan 2002 06:35:06 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-175.dsl.crchtx.swbell.net [64.219.20.175]) by sage-american.com (8.9.3/8.9.3) with SMTP id IAA28963; Fri, 18 Jan 2002 08:34:37 -0600 (CST) Message-Id: <3.0.5.32.20020118083435.017908f8@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 18 Jan 2002 08:34:35 -0600 To: "Sergey N. Voronkov" , Sergei Vyshenski From: jacks@sage-american.com Subject: Re: newsyslog stops logging of apache Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <20020118143915.A11440@sv.tech.sibitex.tmn.ru> References: <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru> <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm running the following line to rotate using 4.4-stable: /var/log/httpd-access.log 644 1 100 * B /var/run/httpd.pid I alsdo thought I might need signal 30, but found this worked with the default. You'll probably just need to restart httpd to get the logs to begin again... At 02:39 PM 1.18.2002 +0500, Sergey N. Voronkov wrote: >On Fri, Jan 18, 2002 at 12:25:45PM +0300, Sergei Vyshenski wrote: >> 4.5-PRERELEASE with fresh port collection, apache-1.3.22_7. >> >> As soon as newsyslog turns over file /var/log/httpd-access.log, >> logging to this file stops despite otherwise normal operation. >> No such effect with a file /var/log/httpd-error.log. >> > >Do you send SIGHUP/SIGUSR1 to running apache? > >serg@sv ~>tail -2 /etc/newsyslog.conf >/var/log/httpd-error.log 644 5 100 * Z /var/run/httpd.pid 30 >/var/log/httpd-access.log 644 7 250 * Z /var/run/httpd.pid 30 > >Best Regards, > >Serg N. Voronkov, >Sibitex JSC. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message