syslog stuff from main.cf ('postconf -n' data upon request):
syslog_facility = mail
syslog_name = postfix
# grep -v "#" /etc/syslog.conf
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none;mail.none -/var/log/syslog
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
lpr.* -/var/log/lpr.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
mail.info -/var/log/mail.info
mail.warning -/var/log/mail.warn
mail.err /var/log/mail.err
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice -/var/log/news/news.notice
*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
*.=info;*.=notice;*.=warning;\
auth,authpriv.none;\
cron,daemon.none;\
mail.none;news.none -/var/log/messages
*.emerg *
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warning |/dev/xconsole
I'm getting full Postfix output to syslog, mail.log and mail.info.
What am I missing?
> I'd like to stop postfix from scribbling to syslog.
>
> syslog stuff from main.cf ('postconf -n' data upon request):
>
> syslog_facility = mail
> syslog_name = postfix
>
> # grep -v "#" /etc/syslog.conf
[ .. ]
> I'm getting full Postfix output to syslog, mail.log and mail.info.
> What am I missing?
Assuming you did not make any mistakes while editing syslog.conf, did
you restart syslogd(8) after making the changes? Postfix simply logs to
the mail facility; how syslogd(8) handles this is not a Postfix issue.
--
Sahil Tandon <sa...@FreeBSD.org>
yes, with /etc/init.d/sysklogd restart; I also HUPed the only process,
'rsyslogd -c4', to come out of 'ps ax|grep log'.
also, at some point, I had made other changes which caused postfix to
also write to messages; then I backed them out, and those messages
stopped.
--
_________________________________________
Nachman Yaakov Ziskind, FSPA, LLM aw...@ziskind.us
Attorney and Counselor-at-Law http://ziskind.us
Economic Group Pension Services http://egps.com
Actuaries and Employee Benefit Consultants
> Sahil Tandon wrote (on Tue, Apr 27, 2010 at 11:23:22PM -0400):
> > Assuming you did not make any mistakes while editing syslog.conf, did
> > you restart syslogd(8) after making the changes? Postfix simply logs to
> > the mail facility; how syslogd(8) handles this is not a Postfix issue.
>
> yes, with /etc/init.d/sysklogd restart; I also HUPed the only process,
> 'rsyslogd -c4', to come out of 'ps ax|grep log'.
You are aware that rsyslogd != sys(k)logd, right?
--
Sahil Tandon <sa...@FreeBSD.org>
Not as aware as I should be, I suppose, but yes - which is why I
restarted both. I basically looked for everything with log in it in
/etc/init.d and ps ax, and restarted them, including /etc/init.d/klogd.
In the interest of clarity, system is running Ubuntu Lucid, and there is
no syslogd on the system (except /etc/default/syslogd), only sysklogd,
which seems to be its replacement.
> Sahil Tandon wrote (on Wed, Apr 28, 2010 at 12:02:34AM -0400):
> > On Tue, 27 Apr 2010, N. Yaakov Ziskind wrote:
> >
> > > Sahil Tandon wrote (on Tue, Apr 27, 2010 at 11:23:22PM -0400):
> > > > Assuming you did not make any mistakes while editing syslog.conf, did
> > > > you restart syslogd(8) after making the changes? Postfix simply logs to
> > > > the mail facility; how syslogd(8) handles this is not a Postfix issue.
> > >
> > > yes, with /etc/init.d/sysklogd restart; I also HUPed the only process,
> > > 'rsyslogd -c4', to come out of 'ps ax|grep log'.
> >
> > You are aware that rsyslogd != sys(k)logd, right?
>
> In the interest of clarity, system is running Ubuntu Lucid, and there is
> no syslogd on the system (except /etc/default/syslogd), only sysklogd,
> which seems to be its replacement.
And yet your ps(1) output indicates that only rsyslogd is running? I'm
not an Ubuntu user, so perhaps someone else can chime with a hint. Since
this does not appear to be a Postfix issue, you might also wish to
pursue this on a more appropriate mailing list.
--
Sahil Tandon <sa...@FreeBSD.org>
> auth,authpriv.* /var/log/auth.log
> *.*;auth,authpriv.none;mail.none -/var/log/syslog
I have this:
*.*;auth,authpriv.none,cron.none,mail.none -/var/log/syslog
I don't know the significance of a comma versus a semi-colon, but this
works for me.
--kay
syslogd has been replaced by rsyslogd.
man rsyslogd
hint: /etc/rsyslogd.conf
>
--
John
> Sahil Tandon wrote (on Wed, Apr 28, 2010 at 12:02:34AM -0400):
> > On Tue, 27 Apr 2010, N. Yaakov Ziskind wrote:
> >
> > > Sahil Tandon wrote (on Tue, Apr 27, 2010 at 11:23:22PM -0400):
> > > > Assuming you did not make any mistakes while editing
> > > > syslog.conf, did you restart syslogd(8) after making the
> > > > changes? Postfix simply logs to the mail facility; how
> > > > syslogd(8) handles this is not a Postfix issue.
> > >
> > > yes, with /etc/init.d/sysklogd restart; I also HUPed the only
> > > process, 'rsyslogd -c4', to come out of 'ps ax|grep log'.
I suggest you ought to read the release notes for Lucid. System V / BSD
init scripts have been replaced by upstart. Scripts now live
in /etc/init and are controlled by initctl.
> >
> > You are aware that rsyslogd != sys(k)logd, right?
> >
> > --
> > Sahil Tandon <sa...@FreeBSD.org>
>
> In the interest of clarity, system is running Ubuntu Lucid, and there
> is no syslogd on the system (except /etc/default/syslogd), only
> sysklogd, which seems to be its replacement.
>
--
John