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.
This commit is contained in:
frob 2024-08-05 06:10:53 +02:00 committed by GitHub
parent 8b920f35a4
commit b73b0940ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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