From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 09:00:21 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 157EB1065686 for ; Fri, 14 Oct 2011 09:00:21 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id C0E698FC19 for ; Fri, 14 Oct 2011 09:00:11 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 730365DCC; Fri, 14 Oct 2011 09:00:10 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p9E909Rk040449; Fri, 14 Oct 2011 09:00:09 GMT (envelope-from phk@phk.freebsd.dk) To: Alexander Best From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 14 Oct 2011 08:56:09 GMT." <20111014085609.GA3799@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Fri, 14 Oct 2011 09:00:09 +0000 Message-ID: <40448.1318582809@critter.freebsd.dk> Cc: Nikolay Denev , FreeBSD Current , Arnaud Lacombe Subject: Re: [RFC] Prepend timestamp in msgbuf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 09:00:21 -0000 In message <20111014085609.GA3799@freebsd.org>, Alexander Best writes: >1) would it be possible to prepend those timestamps to the actual console >output and not only to the output of demsg? maybe via a sysctl toggle? The kernel does not know enough about timezones to emit anything but UTC timestamps. >2) my dmesg output contains a lot of these entries: "<118>" These are magic markers for syslogd(8) specifying priority. >3) roughly the first 30 lines of my dmesg output have the timestamp "[1.0]". >would it be possible to have more accuracy there? No, because we don't know the time until we've found the RTC chip. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.