From owner-freebsd-questions@freebsd.org Thu Aug 9 10:01:44 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 17F6F105F3AE for ; Thu, 9 Aug 2018 10:01:44 +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 A35708AB84 for ; Thu, 9 Aug 2018 10:01:43 +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 D06C3201F8 for ; Thu, 9 Aug 2018 12:01:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1533808902; bh=G5k5S/bPKL2M6MVGKRSV7UveOIBFUpk1I8wImF2+W0Q=; h=Subject:From:To:References:Date:In-Reply-To; b=IAdgR9LOeuzYRQLk7VqK/41vNT2jjo//ki+UtYS9cCq5sBCD4OMUSsKKLaxms6mbJ npN6c0jjHARGyTy/gtY6/AqL8k7tFHNbW/chBj/rtJOk89e69BojvDoEdz4QuhTxs9 SfuBcvBFDdEmCVbEPEGWkYH2xoed+LGCycjz7jPJZqAbrXqp3SygSuPyI83pdt1uek S7xxzdVQbZSH6ETDOBHHzKB6vc8z8/W5n5Zbq3ygy/5rf0sIyA6wGnBoRrMTC2O2lL RHtSDBcwFd2wNcjo00unl/tsgGhTIzuQrX68v2FjuHmzzbXC9jZiPohiCp+RlqNru7 AH5JFS6ojKOp1mvbNQPCS4bZcX5PNH55XkMSENzaVMRbUbms6R5irBMmssJOxY5kzC 3AQ75goQePYBtjIL0XDUARhmg3eU8EE5S/m6HEzJfjXJ+/iOaJhgIkJgi9GL6ruy43 9lKQNOOg/7Yx/GuFPUFwAFnwdNE4T2ICHT9W161Nw/PBzXurtMd9sXO+gjyPsagtHe A+l6Heen26f3yWawJSSd3lZtAgiR/uy031v+uCVIFCUm91fXYCs+YRtcTtHfltlFwO Y1KiBF9P0WDbU2MCKBF9uVJ12UzZmlIk4Y+vZhU8wz3Xh/G1OwzqlxD+84gPwsVxs0 S/Li7mIIUcktYsr24HQNX9RE= Received: from vm1982.osfux.nl (localhost [127.0.0.1]) by vm1982.osfux.nl (Postfix) with ESMTP id 481962014F for ; Thu, 9 Aug 2018 12:01:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1533808901; bh=G5k5S/bPKL2M6MVGKRSV7UveOIBFUpk1I8wImF2+W0Q=; h=Subject:From:To:References:Date:In-Reply-To; b=WpgIgTiv9HE417qMXZhJG8tJPJPX5sXXRRmp89l9hIP6jZGLU5KNxqp9LzRinxOwO uRxkiAyz4dNegDig4+WvuE6yMCEWAtorO5bIsxjceYza3ySvWe4aCxuwOwTghzOkr/ /3oeD10lnLUx1PtdpTsuJUvooiSr+oe8qzBEnhqbkX2Bsh9U3tZCsKbblEezeGSjxT DiG5CLECUS0ZXJIn5fFSYuVRlzzQAY+Wym1HGNToKoZAstFmVFnxfVYIfi5s5dap1j Z3ZwaChLPLFoVu9Sqw+KUA5UnaQnLxDvXTIhi4gDE+mFeSWauarnf7mYeADpqhyCmA M5WQvHKE1Qd/HurRQjBBAMYfE7AYRA9Zlnm4wMCnYgEVfL84yZQ3XcwLqW8X10pzW/ COHEANxvXY9uVZ1I5dmuYP1tPaO3szIMko7GO9TWv768ATydxEbC593xMrD4EK9RYX kncVIblQnTQAM2UXANm3XJPq6ifgBG3OcV+Ish7dSHXjemtwaEhuh6jtsagC8B9bZD zLFcrRuqrUvCwLe550omOWpoThiKnn0kN1sQ4BHZSP2MMRw6mnlS8klVx40NxjGliT DRjhkTiyLkd11PGJupmZZYHdtNgkMuNlsGVVzuu9EWuPGvqVaaGi82HIaujivBmg9V ArzTE83l4r1zjMKYUOiPtpNk= 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 ; Thu, 9 Aug 2018 12:01:39 +0200 (CEST) Subject: Re: newsyslogd / pflogd : daily logfiles for pf From: Ruben To: freebsd-questions@freebsd.org References: <58b3ce35-9426-6f00-885f-2dc7fa677ba5@osfux.nl> Message-ID: Date: Thu, 9 Aug 2018 12:01:38 +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: <58b3ce35-9426-6f00-885f-2dc7fa677ba5@osfux.nl> 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: Thu, 09 Aug 2018 10:01:44 -0000 Hi, Somebody contacted me off-list and provided a lot of knowledge / efforts troubleshooting this issue: TnX! The problem eventually turned out to be (totally) unrelated to both newsylog and pflogd, and the issue has been "solved". Kind regards, Ruben On 08/01/2018 12:34 PM, Ruben wrote: > 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" > _______________________________________________ > 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"