syslog time resolution
frank at esperance-linux.co.uk
Thu Nov 8 05:26:37 PST 2007
On Wed, Nov 07, 2007 at 09:29:23PM +0100, Per olof Ljungmark wrote:
> I would like to increase the number of decimals reported in logfiles by
> syslogd(8), anyone knows if it is possible and perhaps a hint on how to
> do it?
> tcpdump for instance, has six decimals: 21:25:20.160833 whereas the
> standard syslog has zero decimal secs.
> I am only referring to events within a single system so it's not related
> to clock accuracy.
> Thanks and sorry if I missed the obvious!
Dependent on what you're exactly trying to do, you might want to look
at daemontools (in ports: sysutils).
The tools come with a logger which will give you high resolution
Have a look at:
Contact info: http://www.esperance-linux.co.uk/misc/contact.html
More information about the freebsd-questions