[PR #11552] cmd: add logs command #75874

Open
opened 2026-05-05 08:18:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11552
Author: @paulnegz
Created: 7/28/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (1)

  • 363bebe cmd: add ollama logs command with server file logging

📊 Changes

5 files changed (+581 additions, -7 deletions)

View changed files

📝 app/lifecycle/paths.go (+22 -1)
📝 app/lifecycle/server.go (+6 -6)
📝 cmd/cmd.go (+105 -0)
📝 cmd/cmd_test.go (+161 -0)
cmd/logs.go (+287 -0)

📄 Description

Add Docker-like logs command to view Ollama server and application logs with options for following, tailing, and selecting log types.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/11552 **Author:** [@paulnegz](https://github.com/paulnegz) **Created:** 7/28/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`363bebe`](https://github.com/ollama/ollama/commit/363bebec8c59ae36227073fab9759924b0621cae) cmd: add ollama logs command with server file logging ### 📊 Changes **5 files changed** (+581 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/lifecycle/paths.go` (+22 -1) 📝 `app/lifecycle/server.go` (+6 -6) 📝 `cmd/cmd.go` (+105 -0) 📝 `cmd/cmd_test.go` (+161 -0) ➕ `cmd/logs.go` (+287 -0) </details> ### 📄 Description Add Docker-like logs command to view Ollama server and application logs with options for following, tailing, and selecting log types. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 08:18:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#75874