From owner-freebsd-questions@freebsd.org Wed Aug 1 10:35:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 383171050E2E for ; Wed, 1 Aug 2018 10:35:12 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.osfux.nl (vm1982.osfux.nl [79.99.187.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C34128CD6D for ; Wed, 1 Aug 2018 10:35:11 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.osfux.nl (localhost [127.0.0.1]) by vm1982.osfux.nl (Postfix) with ESMTP id 920A9201F2 for ; Wed, 1 Aug 2018 12:34:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1533119674; bh=Saou6mAhXXIobZxQd7K+Jx46OgQcgnl6DamDpdigDrE=; h=Subject:From:To:References:Date:In-Reply-To; b=Sabz+lrhE3mromu1z6IJQz0MppyK6Bwf1EWZVpSopQmtkZtcqoMfYOOwdHRhfXLpV QU82zSLr6PtlH3HTV19p+qc2x2upFxxPWL+DY7h6tcABuvtrya2o278021DaXuux2m D5lezdPBlYr2WOxvAyXKZVidN3zxTsTFRtyy0kryuNfIf3iLSZPLMoOLENVKYctzdv DuvVroicykT211xajQVJVikFXQ8SYQnyKwsAewcUW+4xAzfBipk3ORrDx2fT+4oNt+ fRDPUXXa0qIBTHeJG80sB6mX0IiqblqRoCCANycoTTp1zTJPEsGomKQof4BhpXwkCz HWFJiW3+k4TAwSLc5ef1Yv6yp/S/fx8M7hUQt6/gLBwhIZFEijjH5M4/Ok8WNzPkY5 sRF9LdHohoTVjU9pAZNoiPiHwI6Owf728YcWZnAu1ovRjodTKbGNmFfRm4J0u515ve s3R7P13FLlPEhOtpgEaV4SOZuRkADiOukfuuYxDd3HvE62V92eLERmuMMa6/MQ1dPd ulkSa+sTITMZacFb1kLwi4E/el6SRQDgp/nU5/z8Ff31SDx61FmgZmaKk1SMJesJYr OCDmVzTRyat5xolgnzyxsXk4XW3bxUuH8demBZZ4jlvwL5FMThFTyjSusiwsS3uvR4 SJBI5qxq2Jr7Ri8tElBkGPyo= Received: from vm1982.osfux.nl (localhost [127.0.0.1]) by vm1982.osfux.nl (Postfix) with ESMTP id 6356320177 for ; Wed, 1 Aug 2018 12:34:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1533119673; bh=Saou6mAhXXIobZxQd7K+Jx46OgQcgnl6DamDpdigDrE=; h=Subject:From:To:References:Date:In-Reply-To; b=q8a3ja8XH11OwdKJ4uaM/faxcOxIGBgRBThSl10oxOaoCQlm4k88n/5KavhRv7i3g mdGaBJpVYeqvH68oEdlf6d7F6nSS7V/OPlWM/iKXFDk24jTSb75jb1knmnFJF1uRAI PxmW1cz2qcjrKfeX9CR+nDPKHTIq/hM4LAeAUeKxn/At/Ky+ATOJ1kYxYs4PxvHvr2 rF2fIj37Mnubi/E4mZkBDfxbx9N+wENzYzM2vxXCiXmhr3uWnUWaZCtJ7cHfq42/Q1 HTLIAsMazB2bAkXl6unjQzusQVPWi9XYR/D3EvobFaqzy9KBkCTmY1fL6/GdU6rF9x R7IW8FLN4pfRR+x0hn85cyMMxlLRzgn5yRZB6u7+892zD0U5HCMqhcHQd5/q9cxBov 1UZv3E1k/bMOGEqTvpx4Z3uE0SlE11QgyL8uu6WEGsvVkQWH8oL7C26yzjgaNCTSZ8 Hb1JumLRiHNSKfkPdMrW0bgugRfnCty64ptepD0zNhbg2v0Sll9G/Gk+jbZQe5dexP wZkFv0bJTb/hChERrMY31HfPEEtEIY+3BRa4nbIxLSQQT/JCd2340eHpnm0cFhUxH6 bN7U6k3Yukw9edoMAoLZzaLnlD5XSvMTWZOgsy+qSRIlVb+PC0U18BakbjAJXQRVYj LqWfi/zoj8OKeOR0XDNp+sMw= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on vm1982.osfux.nl X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [172.28.10.134] (engineering.quanza.net [91.208.87.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm1982.osfux.nl (Postfix) with ESMTPSA for ; Wed, 1 Aug 2018 12:34:30 +0200 (CEST) Subject: Re: newsyslogd / pflogd : daily logfiles for pf From: Ruben To: freebsd-questions@freebsd.org References: Message-ID: <58b3ce35-9426-6f00-885f-2dc7fa677ba5@osfux.nl> Date: Wed, 1 Aug 2018 12:34:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 10:35:12 -0000 Hi, Anybody out there with a working rotation on /var/log/pflog (using newsyslog) ? All help/suggestions welcome! Kind regards, Ruben On 07/30/2018 05:12 PM, Ruben wrote: > > Hi List, > > > I'm running PF on some FreeBSD 11.x installs and I would very much like > to have daily logfiles containing the entries that land up in the pflog > device. I'm having trouble switching from "max size" rotation to "once a > day, regardless of size" rotation. > > > > My pflog entry in /etc/newsyslog.conf looked like this: > > /var/log/pflog      600  3    100    @T00 JB    /var/run/pflogd.pid > > > and after my attempted change now looks like this: > > /var/log/pflog      600  30    *    @T00 JB    /var/run/pflogd.pid > > > but no new /var/log/pflog.0.bz2 files are created anymore. If I run the > newsyslog binary manually like this : > > /usr/sbin/newsyslog -vCF > > then the /var/log/pflog.* are created / rotated. > > > Could somebody perhaps shed some light on what I'm doing wrong here? > > > Any help appreciated! > > > Kind regards, > > > Ruben > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"