From 108bba78eabbb77e23a88b1a5b404d1d7d15b22c Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Thu, 18 Jul 2024 15:32:10 +0200 Subject: [PATCH] doc: prefer journalctl parameters over pipes --- docs/TROUBLESHOOT.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/TROUBLESHOOT.md b/docs/TROUBLESHOOT.md index 645896f..f180058 100644 --- a/docs/TROUBLESHOOT.md +++ b/docs/TROUBLESHOOT.md @@ -37,14 +37,14 @@ qube and service you intend to use, such as qube `code` and service On `dom0`, watch the Qrexec policy logs: ```sh -sudo journalctl -fu qubes-qrexec-policy-daemon | cut -d " " -f 7- +sudo journalctl -o cat -fu qubes-qrexec-policy-daemon ``` -If you ave many simultaneous calls being shown, get on the important ones: +If you ave many simultaneous calls being shown, get only the important ones +relevant to the service you are debugging: ```sh -sudo journalctl -fu qubes-qrexec-policy-daemon | cut -d " " -f 7- \ - | grep -e qubes.GetDate -e qubes.Filecopy +sudo journalctl -o cat -fu qubes-qrexec-policy-daemon -g qubes.GetDate ``` You can emulate the call from `dom0`: