From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 06:49:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7189106564A for ; Thu, 15 Apr 2010 06:49:36 +0000 (UTC) (envelope-from z.szalbot@lcwords.com) Received: from ns353444.ovh.net (ns353444.ovh.net [91.121.95.100]) by mx1.freebsd.org (Postfix) with ESMTP id 88E5A8FC1C for ; Thu, 15 Apr 2010 06:49:36 +0000 (UTC) Received: from [192.168.11.101] (77-253-60-122.adsl.inetia.pl [77.253.60.122]) (Authenticated sender: z.szalbot@lcwords.com) by ns353444.ovh.net (Postfix) with ESMTPA id 156B01A988D for ; Thu, 15 Apr 2010 06:30:33 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.3 ns353444.ovh.net 156B01A988D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lcwords.com; s=dkim9.private; t=1271305833; bh=5oaePtb4h2jspk8mr+vybLdxuW4Fa6jOCZarzN8r8L8=; h=From:To:Date:MIME-Version:Subject:Message-ID:Content-type: Content-transfer-encoding:Content-description; b=o4iPFZvCdEbEDGOFGiHpRZir1Qdg3bdZMXD20qZNl1dttGqt+hfyUpX4U2tkCnBUx X4d52DL6OA5MmQ+BpxOLWWezDiRQno05UTu0Ke5BkYtR3KmwsuEwRUPOe5gc0fvt1L pQhh4Ya6BenbZgCRjXnY4a/4bYagOjMY/PViIYpE= From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org Date: Thu, 15 Apr 2010 08:30:30 +0200 MIME-Version: 1.0 Message-ID: <4BC6B286.16120.2714AA3@z.szalbot.lcwords.com> Priority: normal X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Log rotation / newsyslog / apache not reloaded X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 06:49:36 -0000 Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30 * @T00 JCG /var/log/*-error.log 644 30 * @T00 JCG Man newsyslog.conf says: If this field (signal_number) is not present, then a SIGHUP signal will be sent. My problem is that while the apache logs are rotated as specified in the newsyslog.conf file, the apache server is not reloaded which causes it to write log entries to the now compressed files. Which flag should I specify to make sure apache is reloaded during log rotation? Thank you very much in advance! Zbigniew Szalbot