lkml.org 
[lkml]   [2012]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RESEND 1/3] printk: convert byte-buffer to variable-length record buffer
    On 12-05-12 02:35 PM, Linus Torvalds wrote:
    >
    > (b) The one thing I have often wanted is not "after how many seconds
    > of boot", but "when". So it would actually be nice if the absolute
    > time was converted into local time. The kernel can actually do that,
    > so I suspect that the best format for the relative timestamps would
    > really be something like
    >
    > > [May12 11:27] foo
    > > [May12 11:28] bar
    > > [ +5.077527] zoot
    > > [ +10.235225] foo
    > > [ +0.002971] bar
    > > [May12 11:29] zoot
    > > [ +0.003081] foo
    >
    > because that would be really useful sometimes.
    >
    > (And no, never mind the year. If you log those things long-term, the
    > year will be in the full log, so logging the year in the dmesg is just
    > pointless.)
    >
    > I dunno. The above is what I would have liked to see quite often. I
    > look at dmesg, and notice that I had an WARN_ON_ONCE in it, and I have
    > no idea when it happened, because the "seconds since boot" is totally
    > useless information for me, as I'm too lazy to try to use /proc/uptime
    > to calculate what it is.


    Look in syslog ?



    \
     
     \ /
      Last update: 2012-05-13 16:01    [W:0.030 / U:0.648 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site