Use --all journalctl option
journalctl encodes fields with "non-printable" characters, like unicode control characters, as an array. This ensures that the tlog MESSAGE field is shown in full using the journalctl API.
This commit is contained in:
parent
4abce7ae8d
commit
179fb8c5e6
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@
|
||||||
options.count = null;
|
options.count = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var cmd = [ "journalctl", "-q", "--output=json" ];
|
var cmd = [ "journalctl", "--all", "-q", "--output=json" ];
|
||||||
if (!options.count)
|
if (!options.count)
|
||||||
cmd.push("--no-tail");
|
cmd.push("--no-tail");
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue