Browse Source

Disable paging for journalctl (#6154)

Users using `journalctl` to get logs for issue logging sometimes don't realize that paging is causing information to be missed.
frob 9 tháng trước cách đây
mục cha
commit
b73b0940ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/troubleshooting.md

+ 1 - 1
docs/troubleshooting.md

@@ -9,7 +9,7 @@ cat ~/.ollama/logs/server.log
 On **Linux** systems with systemd, the logs can be found with this command:
 
 ```shell
-journalctl -u ollama
+journalctl -u ollama --no-pager
 ```
 
 When you run Ollama in a **container**, the logs go to stdout/stderr in the container: