From c3c7654b1a62b923b0e23b3e045a7e55455eee83 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 11 Aug 2021 08:08:03 +0000 Subject: [PATCH] Minor details on logs via journald --- Systemd-integration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Systemd-integration.md b/Systemd-integration.md index 5faba0a..320ee0e 100644 --- a/Systemd-integration.md +++ b/Systemd-integration.md @@ -43,6 +43,14 @@ If you'd like sway's output to be handled by journald (like a systemd service), exec systemd-cat --identifier=sway sway ``` +You can print these logs via: + +```bash +journalctl --user --identifier sway +``` + +Using `--follow` and `--this-boot` might be handy. [`journalctl(1)`](https://www.freedesktop.org/software/systemd/man/journalctl.html) for details. + ## Running sway itself as a --user service It is not recommended that you run `sway` as a systemd service.