From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3AF3659CAF for ; Sat, 2 Apr 2016 06:51:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA9A421C040; Sat, 2 Apr 2016 06:51:41 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55B5921C02E for ; Sat, 2 Apr 2016 06:51:40 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id k79so100226576lfb.2 for ; Fri, 01 Apr 2016 23:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=gKXqBmKSvZXCKCDGY/XeDSpUVIdQtkGffAfoxwYKRio=; b=mwZCok4GxrEnskhbTPV0DzA2rg3/NWNNjq4WlNRfsPYcBOQ3djfd0Fsyaa9jFGTB7i y7RX/m7VheMCi73ZpHLcRC5byZZcL6/xF008f1TnR4cFsE5HAZCVN4wpgKy5jg5QPwhe GB6IiKy6qXt4+be6PMUwiQe2d22Pl1KAz89YNpsEEYGikDL+PC+2ChB+Xl6m+UY9yWCS /ric3xHinzAlPbCVTabyDKPChpXaVB7xqMNg+fuKDJdl0rl2+7Rm7SR+GB2Vcy77tqzL 9T+pJtyptUyIJuxEw6BV9Kv+lzbnylLcYOfKotTipG/mzBhAisFI8YjHnwrBzU5mz7pH SNjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gKXqBmKSvZXCKCDGY/XeDSpUVIdQtkGffAfoxwYKRio=; b=NHncDULBhoGerpebhEP61RBzGOMuXu4OLKxmFD+D5Uld4cBuoYr1Tb2ZXyAWXBXRh7 BEcnUX8HNy9XkcaYcm4jca0qCCSfaLM2QDEMABsrhCZiyOP52G7qx3p2BoiSXDNs/79e sN52OSfju2b8T08KactSN0lvKjJBh092mt4OOl/My7Yt4+VWTRoazWtmJValJFdlzzJj QSSj3Z1ODmvvFGax7Ca5SoSpyJp5DvFuvYEbQDYf/OpQrvWf9wztYH7HGDLiXUMloygI DFa8u79lI1Lxw1p+gFRfgl8uYfrm5KXQnFxFOaUku+GUYZPzuqIgKVLyz8A9NQAo/s5H o0gg== X-Gm-Message-State: AD7BkJKX8/ZWDr42oDJhnnVi/mXaysKfGI+7Zl2eas62oufATvpqfzTHnFPBb86r5cqqRQ== X-Received: by 10.194.172.99 with SMTP id bb3mr25556723wjc.46.1459579898629; Fri, 01 Apr 2016 23:51:38 -0700 (PDT) Received: from [172.29.2.11] ([209.212.109.4]) by smtp.googlemail.com with ESMTPSA id y72sm2422808wmh.21.2016.04.01.23.51.36 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 23:51:37 -0700 (PDT) Subject: Re: [gentoo-user] logrotate: name of log file after it's rotated? To: gentoo-user@lists.gentoo.org References: <87wpoqlr02.fsf@heimdali.yagibdah.de> <56F5A0DD.1060004@gmail.com> <87h9fklqel.fsf@heimdali.yagibdah.de> From: Alan McKinnon Message-ID: <56FF6BF2.7080807@gmail.com> Date: Sat, 2 Apr 2016 08:51:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <87h9fklqel.fsf@heimdali.yagibdah.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4ac1b384-314c-4bd8-874b-aff761f20fba X-Archives-Hash: 11bc0a7626faebd4bbf4916f3da1d18b On 02/04/2016 04:01, lee wrote: >> It depends. There are options to tell logrotate to use, or not use, >> > dates in the new filename, and what compression to use or not use. So >> > the names can vary. > Exactly, and that's why there needs to be some sort of place holder for > the file name. > I don't think it's a case of "there needs to be". I think it's more a case of "you want it to be to solve this special problem you have", and perhaps the logrotate maintainer doesn't agree. -- Alan McKinnon alan.mckinnon@gmail.com