From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OnnNX-0003w0-3r for garchives@archives.gentoo.org; Tue, 24 Aug 2010 06:53:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99E2EE0918; Tue, 24 Aug 2010 06:52:14 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 58483E0918 for ; Tue, 24 Aug 2010 06:52:14 +0000 (UTC) Received: by ewy19 with SMTP id 19so3620746ewy.40 for ; Mon, 23 Aug 2010 23:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=iENlyVXLTl9keexP9STU0xVg/fQCRiNBqq1KDvZB8Do=; b=Dt7Ww01zflHSm3+PEkqOwkiq+3my+WFXZTv48xuT5e+6YTKEDdlcT+rNOKXqA5Rx8U gQSLMYPBtUZ/Rf50bSFnrcTUfXeiy7z3XD/e0+IA0sSzQ3zcEsMCiKDuTOE2hn558vRJ oTF9z/xC2Lh/Ign5gXtxy8GqPqt4Jr/F7wlj8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=fGRT3QvumtFLH/ZLidHclDM8AwibsQY6jmMsR+alIiFeKQB+Yn1rGHRzNr9r1XlKo7 Ja878gd/ILHfwPWlLyNgPxU8N23LnTFKsO/RPiJH95bTq7jiyBRn2FquUTlWwa7tOJ2Z ZtWoUY7BRverb0rwjoB32P8M5k66hRKi2FqM0= Received: by 10.213.8.129 with SMTP id h1mr3526781ebh.41.1282632733607; Mon, 23 Aug 2010 23:52:13 -0700 (PDT) Received: from nazgul.localnet (196-210-202-152.dynamic.isadsl.co.za [196.210.202.152]) by mx.google.com with ESMTPS id a48sm12224603eei.12.2010.08.23.23.52.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Aug 2010 23:52:12 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Disable fcron logging Date: Tue, 24 Aug 2010 08:49:14 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-ck-r1; KDE/4.4.5; x86_64; ; ) Cc: Alex Schuster References: <201008211525.35115.wonko@wonkology.org> <201008211543.05942.alan.mckinnon@gmail.com> <201008240012.10589.wonko@wonkology.org> In-Reply-To: <201008240012.10589.wonko@wonkology.org> 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 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008240849.14091.alan.mckinnon@gmail.com> X-Archives-Salt: 4f07574e-f876-43a0-a363-32d3b33fd9c2 X-Archives-Hash: 31667804b3edc8dc1274b0177befe8cb Apparently, though unproven, at 00:12 on Tuesday 24 August 2010, Alex Schuster did opine thusly: > > Configure your syslogger to devnull these specific entries. > > All three common sysloggers (syslogd,syslog-ng,rsyslog) all come with > > extensive documentation on how to do this. > > Hmm, okay. I think there is no perfect solution. When I disable logging of > this PAM stuff, I can only disable it completely, but what if I want to > keep the logging from other jobs that are not run that often? Although for > this case I can use the direct logging of fcron (without nolog), so this > is quite academic. Can anybody still follow me? But thanks for the > clarification. I use syslog-ng and that allows you to write a custom rule looking for the app that generated the log "[fcron]" and a string in the log entry "pam_unix(fcron:session)". You can then filter it out. However you do it, the solution is quite fragile and very specific to your setup. A general solution that works everywhere will be difficult to form. -- alan dot mckinnon at gmail dot com