[systemd-bugs] [Bug 67748] New: systemd-206: journalctl command should default to show entries from more recent time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 4 08:23:06 PDT 2013


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

          Priority: medium
            Bug ID: 67748
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-206: journalctl command should default to show
                    entries from more recent time
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: pacho at condmat1.ciencias.uniovi.es
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Currently, when I run "journalctl" I get log entries from a long time:
-- Logs begin at dom 2013-07-14 01:12:18 CEST, end at dom 2013-08-04 17:10:02
CEST. --
jul 14 01:12:18 belkin4 systemd-journal[89]: Runtime journal is using 1.0M (max
293.3M, leaving 440.0M of free 2.8G, current limit 293.3M).
jul 14 01:12:18 belkin4 systemd-journal[89]: Runtime journal is using 1.0M (max
293.3M, leaving 440.0M of free 2.8G, current limit 293.3M).
jul 14 01:12:18 belkin4 kernel: Initializing cgroup subsys cpuset
jul 14 01:12:18 belkin4 kernel: Initializing cgroup subsys cpu
jul 14 01:12:18 belkin4 kernel: Linux version 3.9.9-gentoo (root at belkin4) (gcc
version 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2) ) #2 SMP PREEMPT Sat Jul 

This is a bit problematic because in each new day, log file grows more and more
and, then, the pager used by journalctl (I think it's "less") is more and more
slower to jump to the end of the log file.

This is the situation I see constantly:
1. I run "journalctl" to see recent logs.
2. It shows me the output since the first day, then, I press "End" key to jump
to the end of the file and, after that, I want to go back some pages until I
see where logs from this day are shown.

-> The problem is that, when I press "End" keyword, less takes a long time to
jump to the end because log file is getting big.

My suggestion is that:
- "journalctl" should default to show logs from present day.
- People should use something like "journalctl --full" to show all logs, also
oldest ones.

Thanks

-- 
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/20130804/45bf27d2/attachment.html>


More information about the systemd-bugs mailing list