Skip to content

Commit

Permalink
doc: prefer journalctl parameters over pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jul 18, 2024
1 parent 3cae8df commit 108bba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/TROUBLESHOOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit 108bba7

Please sign in to comment.