public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Alex Schuster <wonko@wonkology.org>
Subject: Re: [gentoo-user] Disable fcron logging
Date: Tue, 24 Aug 2010 08:49:14 +0200	[thread overview]
Message-ID: <201008240849.14091.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <201008240012.10589.wonko@wonkology.org>

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



  reply	other threads:[~2010-08-24  6:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21 13:25 [gentoo-user] Disable fcron logging Alex Schuster
2010-08-21 13:43 ` Alan McKinnon
2010-08-23 22:12   ` Alex Schuster
2010-08-24  6:49     ` Alan McKinnon [this message]
2010-08-21 19:26 ` Stroller
2010-08-22 10:26   ` Alex Schuster
2010-08-22 19:00     ` Stroller
2010-08-22 19:50       ` Stroller
2010-08-22 21:39       ` Alex Schuster
2010-08-22 22:18         ` Mick
2010-08-24 13:31           ` KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging) Alex Schuster
2010-08-25  9:54             ` [gentoo-user] Re: KDE and hdparm Alex Schuster
2010-08-25 19:14               ` Mick
2010-08-30 16:38             ` KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging) Mick
2010-08-23 18:25         ` [gentoo-user] Disable fcron logging Stroller
2010-08-23 21:30           ` Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008240849.14091.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=wonko@wonkology.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox