From 142dd4fb6a7ac08cbb11c70983c4654be42de5dd Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Thu, 18 Jul 2019 10:37:17 -0400 Subject: [PATCH] Fix hostname and username filters Modify the default journalctl matches allowing correct behavior(logical AND) of the appended _HOSTNAME and TLOG_USER filters. --- src/recordings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recordings.jsx b/src/recordings.jsx index 9c656f9..9472df7 100644 --- a/src/recordings.jsx +++ b/src/recordings.jsx @@ -719,7 +719,7 @@ class View extends React.Component { * Assumes journalctl is not running. */ journalctlStart() { - let matches = ["_UID=" + this.uid, "+", "_EXE=/usr/bin/tlog-rec-session", "+", "_EXE=/usr/bin/tlog-rec", "+", "SYSLOG_IDENTIFIER=-tlog-rec-session"]; + let matches = ["_EXE=/usr/bin/tlog-rec-session", "_EXE=/usr/bin/tlog-rec"]; if (this.state.username && this.state.username !== "") { matches.push("TLOG_USER=" + this.state.username); }