Fix journal matching
This allows for retrieving all tlog recordings and fixes the broken username/hostname filtering.
This commit is contained in:
parent
ac612470bd
commit
5348d111c4
1 changed files with 5 additions and 4 deletions
|
|
@ -722,10 +722,11 @@ class View extends React.Component {
|
||||||
* Assumes journalctl is not running.
|
* Assumes journalctl is not running.
|
||||||
*/
|
*/
|
||||||
journalctlStart() {
|
journalctlStart() {
|
||||||
let matches = ["_EXE=/usr/bin/tlog-rec-session",
|
let matches = ["_COMM=tlog-rec",
|
||||||
"_EXE=/usr/bin/tlog-rec", "+",
|
/* Strings longer than TASK_COMM_LEN (16) characters
|
||||||
"_COMM=tlog-rec", "+",
|
* are truncated (man proc) */
|
||||||
"_COMM=tlog-rec-session"];
|
"_COMM=tlog-rec-sessio"];
|
||||||
|
|
||||||
if (this.state.username && this.state.username !== "") {
|
if (this.state.username && this.state.username !== "") {
|
||||||
matches.push("TLOG_USER=" + this.state.username);
|
matches.push("TLOG_USER=" + this.state.username);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue