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 via email to