Stefan Sperling <[EMAIL PROTECTED]> wrote:

> > > >   * Add patch to ${WRKSRC}/util.c that prevents pptp
> > > >     from logging the same stuff into both /var/log/daemon
> > > >     and /var/log/messages. Just log to /var/log/daemon.
> > 
> > That doesn't sound right.  This is a syslog configuration issue.
> 
> I don't know, but I don't think so.
> I'm using the default syslog config. Never touched it:

>   *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
>   daemon.info                                             /var/log/daemon

Yes, and that logs messages of facility LOG_DAEMON and priority
LOG_NOTICE to both /var/log/messages and /var/log/daemon.  If you
don't like this, see syslog.conf(5).

> pptp is using LOG_NOTICE to log 'normal' messages.
> ppp(8) never uses LOG_NOTICE at all, it uses LOG_INFO instead.

Well, maybe LOG_NOTICE is indeed the wrong priority, but that is a
different argument from changing it as a workaround to reconfiguring
syslogd.

-- 
Christian "naddy" Weisgerber                          [EMAIL PROTECTED]

Reply via email to