From owner-freebsd-questions@FreeBSD.ORG Thu Oct 7 21:23:43 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 D59761065679 for ; Thu, 7 Oct 2010 21:23:43 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E53B8FC13 for ; Thu, 7 Oct 2010 21:23:42 +0000 (UTC) Received: by bwz6 with SMTP id 6so310751bwz.13 for ; Thu, 07 Oct 2010 14:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hR4O+HuM/Ua9G6WjyuohScHo5zxUQAZZxDrPTPF7fQA=; b=bKptDhs2KVpM9T3QIMShj7VCykZ1kUpYMNpR1mJ/nbUmm718CpDZfEzrvwua/sUkv/ T5ZJUJyqLJXuh4iPvg+twLusM+dboZt+j8SeQLRnXhHVo5TLKuwtDxlliT6hK7cYkn1k ZK2T+fLbBSvU0EUk+qiFNaS73pV7veaEGhj40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=g7QNs4nFrZjy5ugKwyytGeMZY8IgOFIf8mM7cDeEWOl2tEoJvH1bFV2n5WkWBun3JC LwsP9TchSYQ7DmnLpZkX8itpBkRy5qvLQ1xCSX9jGV5n5HI7WOcmC6GfN/KeDRSk7Cpp gumCS6EeL5qHbZiGskm9l4isB+31OWDgmwyJc= Received: by 10.204.65.145 with SMTP id j17mr1086507bki.209.1286485192067; Thu, 07 Oct 2010 13:59:52 -0700 (PDT) Received: from limbo.lan ([193.33.173.33]) by mx.google.com with ESMTPS id 11sm1974110bkj.11.2010.10.07.13.59.50 (version=SSLv3 cipher=RC4-MD5); Thu, 07 Oct 2010 13:59:50 -0700 (PDT) Message-ID: <4CAE34C4.30304@gmail.com> Date: Thu, 07 Oct 2010 23:59:48 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; uk-UA; rv:1.9.2.9) Gecko/20100918 Thunderbird/3.1.4 MIME-Version: 1.0 To: Joe Auty References: <4CAE02AB.1090009@netmusician.org> In-Reply-To: <4CAE02AB.1090009@netmusician.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: newsyslog.conf and Apache log files 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, 07 Oct 2010 21:23:43 -0000 07.10.2010 20:26, Joe Auty wrote: > Hello, > > I have the following entry for dealing with my Apache log files: > > /var/log/httpd/* 644 2 * $M1D0 GBJ > /var/run/httpd.pid 30 > > > Unfortunately, this has created these big long log files such as the > following: > > httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2 > > How can I prevent these dumb log file names from being created? /var/log/httpd/*_log would suffice. -- Sphinx of black quartz judge my vow.