From 9e620b6f75d86a298d69686fd9f46cc745d6e398 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Fri, 3 Aug 2018 20:01:43 +0900 Subject: [PATCH] update readme: logging --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b98d874..07d529c 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,16 @@ The program can be configured by editing the [config file](https://github.com/ha Just read the description of the parameters and edit the values. Please restart nohang to apply changes. Default path to the config after installing is `/etc/nohang/nohang.conf`. +## Logging + +If nohang is installed on a system that uses systemd, you can use the following command to view the log: + +```bash +$ sudo journalctl -u nohang -e +``` +See also `man journalctl`. + + ## Feedback Please create [issues](https://github.com/hakavlad/nohang/issues). Use cases, feature requests and any questions are welcome.