[systemd-bugs] [Bug 57252] New: --lines=, n 0 option support for journalctl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 18 08:57:26 PST 2012


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

          Priority: medium
            Bug ID: 57252
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: --lines=,n 0 option support for journalctl
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mylwjef at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

When you write a shell script need monitor log outputs, this feature is
essential.

Before we write this with syslog and tail.

"tail -fn0 /path/to/logfile | while read line ; do"

When using "journalctl -fn1 /path/to/sth", it will always give the last line of
the log, I have to write some extra processing it.

But I do not know how to handle it with a simple way, I just want handle the
new log line.

Sorry for my poor english.

-- 
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/20121118/60988c6d/attachment.html>


More information about the systemd-bugs mailing list