[systemd-bugs] [Bug 64293] New: journalctl -n wrong output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 6 14:08:38 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=64293

          Priority: medium
            Bug ID: 64293
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: journalctl -n wrong output
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jonas at lophus.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Weird behavior regarding journalctl -n: Increasing the -n argument by 1 changes
the output completely

$ journalctl -n 1002 | head
-- Logs begin at Tue 2013-04-09 12:08:24 CEST, end at Sun 2060-02-15 19:22:01
CET. --
May 06 22:15:06 x201 ...
May 06 22:15:06 x201 ...
May 06 22:15:06 x201 ...

$ journalctl -n 1003 | head                                                    
                                                                               
                                        23:05 
-- Logs begin at Tue 2013-04-09 12:08:24 CEST, end at Sun 2060-02-15 19:22:01
CET. --
May 06 13:01:29 x201 ...
-- Reboot --
May 06 13:40:09 x201 ...
May 06 13:40:09 x201 ...

Just look at the time stamps. Doesn't make too much sense if -n should behave
similar to head/tail's -n.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130506/0efa637b/attachment.html>


More information about the systemd-bugs mailing list