Date: Sun, 8 Jun 2008 21:59:19 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Niki Denev <ndenev@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: timestamping for kernel messages (like Solaris and Linux) Message-ID: <20080608115919.GE67629@server.vk2pj.dyndns.org> In-Reply-To: <2e77fc10806080024s19951abbnf31913d5579f4535@mail.gmail.com> References: <2e77fc10806080024s19951abbnf31913d5579f4535@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nEsDIrWrg+hrB7l1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Jun-08 10:24:53 +0300, Niki Denev <ndenev@gmail.com> wrote: >Has anyone thought about implementing an option >to prepend all kernel console messages with timestamps, >like Linux and Solaris do? The only time I've seen Solaris do this is when the console message is syslog'd - which FreeBSD also does. >Is it just a matter of hacking up the kernel printf() implementation? Pretty much. >Any possible caveats? The kernel works in UTC only and has only a very restricted ability to translate between epoch seconds and a human-readable date/time (it's currently only used to talk to the RTC). --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --nEsDIrWrg+hrB7l1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhLyZcACgkQ/opHv/APuIcWUwCZAZm54dAIBsSh/Dt4IBu7QhLo 3CgAn0xw4gz6BgYdCgRWdyNLHiviH91z =9pVa -----END PGP SIGNATURE----- --nEsDIrWrg+hrB7l1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080608115919.GE67629>