Re: [Exim] logging to syslog without timestamp?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Alexey Promokhov
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] logging to syslog without timestamp?
On Tue, 6 Feb 2001, Alexey Promokhov wrote:

> On Wed, 31 Jan 2001, Robert Mognet wrote:
>
> > > Is there a simple way to stop exim from putting date&time in front of all
> > > syslog messages? This one should be a RTFM-questions, but I couldn't found
> > > it there... any hints? Thanks in advance!
> > I'm not certain, but I think it's syslogd that puts the timestamp
> > on the log entries.
> Both exim and syslogd does that.


Correct. It was argued that it was useful to have exactly the same
output available via syslog, so you could extract it and, for example,
run eximstats on it. Also, the times may vary.

> Look at here (this is syslogd output):
>
> Feb 6 13:41:12 linuxbox exim[1059]: 2001-02-06 10:41:12 SMTP connection from localhost [127.0.0.1] closed by QUIT
> Feb 6 13:41:28 linuxbox exim[1083]: 2001-02-06 10:41:28 Start queue run: pid=1083
> Feb 6 13:41:28 linuxbox exim[1083]: 2001-02-06 10:41:28 End queue run: pid=1083


That's a nice example where the times *do* vary, and by quite a lot!

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.