Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 1996 10:33:07 -0700 (PDT)
From:      Dave Babler <dbabler@Rigel.orionsys.com>
To:        "Mark O'Lear" <Mark.Olear@Colorado.EDU>
Cc:        questions@freebsd.org
Subject:   Re: syslog and ntpdate
Message-ID:  <Pine.BSF.3.91.960716102852.10461A@Rigel.orionsys.com>
In-Reply-To: <31EBCC2F.5FB7@Colorado.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 16 Jul 1996, Mark O'Lear wrote:

> Dave Babler wrote:
> > 
> > ... I then then cleaned up my act and changed syslog.conf so
> > that the items of interest get logged directly to the console and all is
> > well. Or almost. Oddly, I can no longer get info reports from ntpdate
> > (run with cron every 2 hours), though I used to. My syslog.conf is now:
> > 
> > ---- /etc/syslog.conf
> > *.err;kern.debug;auth.notice;mail.crit          /dev/console
> > *.notice;*.alert;auth.debug;*.alert             /dev/console
> 
> xntpd logs most of it's stuff to daemon.info plus some warnings with
> daemon.warning (none of which get logged according to your above
> syslog.conf).

Thanks!!

Apparently so does ntpdate as well (I run it from crontab - xntpd isn't 
run, since my time server isn't local. I assume that's the right 
decision) Adding daemon.* returns the time-correction messages now.

> 
> > so I -assumed- that the console should get all the log messages that root
> > used to (except for .err messages)... but the time adjustments don't show.
> > I also tried adding:
> > 
> >         !ntpdate.*  /dev/console
> > 
> 
> If you want to use the above, I believe that you have to break it into
> two lines:
> 
> !ntpdate
> *.*              /dev/console

Yup... works too - and I could have sworn I tried that too at some point.

-Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960716102852.10461A>