浏览代码

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 月之前
父节点
当前提交
b73b0940ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: