On Fri, 11.03.11 09:51, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote: > > > -----Original Message----- > > From: Michael Biebl [mailto:mbi...@gmail.com] > > Sent: Friday, March 11, 2011 8:45 AM > > To: Rainer Gerhards > > Cc: systemd-devel@lists.freedesktop.org > > Subject: Re: [systemd-devel] systemd-logger and external syslog daemon > > > > 2011/3/11 Rainer Gerhards <rgerha...@hq.adiscon.com>: > > > > > > So isn't that already a solution? > > > > > > > The problem with PRINTK_TIME afaics is that it needs to be turned on > > explicitly whereas I'd expect SO_TIMESTAMP will be available always > > (if the kernel is recent enough)? > > > > In any case you'd need to interpret that data on the rsyslog side, to > > compute a correct time stamp and then (optionally) strip off the [ > > 5913.491848] markers. > > I am not opposed to doing that -- I'd really like to have as good a timestamp > as possible. But the issue is that usually there is none. I've also seen that > the SO_TIMESTAMP fix is not present in currently frequently distributed > kernels > > So question now: how to proceed?
SO_TIMESTAMP will be in F15. The kmsg printk timestamps have been available for much longer and could be parsed by rsyslog right-away. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel