systemd-journal-remote use case update

This commit is contained in:
Kyrylo Gliebov 2018-11-16 19:55:12 +01:00 committed by Kirill Glebov
parent 2162092977
commit 91877b0570
3 changed files with 15 additions and 6 deletions

View file

@ -105,7 +105,7 @@ let PacketBuffer = class {
/* The journalctl reading the recording */
this.journalctl = Journal.journalctl(
this.matchList,
{count: "all", follow: false});
{count: "all", follow: false, merge: true});
this.journalctl.fail(this.handleError);
this.journalctl.stream(this.handleStream);
this.journalctl.done(this.handleDone);
@ -454,7 +454,7 @@ let PacketBuffer = class {
this.journalctl = Journal.journalctl(
this.matchList,
{cursor: this.cursor,
follow: true, count: "all"});
follow: true, merge: true, count: "all"});
this.journalctl.fail(this.handleError);
this.journalctl.stream(this.handleStream);
/* NOTE: no "done" handler on purpose */